mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 19:34:43 +01:00
Compare commits
17
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
140932d6d8 | ||
|
|
324ec40db3 | ||
|
|
17b0776217 | ||
|
|
8d77b4e304 | ||
|
|
157002a7fa | ||
|
|
4c731d7856 | ||
|
|
1afa50deb4 | ||
|
|
5cc13c0e22 | ||
|
|
9f0dc73359 | ||
|
|
32cd273372 | ||
|
|
92c9323d3b | ||
|
|
01233029ed | ||
|
|
c264e2c65c | ||
|
|
45728f7c5d | ||
|
|
e382a3a979 | ||
|
|
d216e1f6de | ||
|
|
f4856526c7 |
No files matched your search
@@ -0,0 +1,89 @@
|
||||
>From newsserv!kralizec.zeta.org.au!bde Sat Aug 20 01:50:59 1994
|
||||
From: Bruce Evans <newsserv!kralizec.zeta.org.au!bde>
|
||||
Newsgroups: stark.freebsd-bugs
|
||||
Subject: Re: uucp command fails with permission problems
|
||||
Date: Mon, 20 Jun 1994 15:13:31 +1000
|
||||
Organization: Gene Stark's home system
|
||||
Distribution: stark
|
||||
NNTP-Posting-Host: home.stark.cs.sunysb.edu
|
||||
To: [email protected], [email protected]
|
||||
Precedence: bulk
|
||||
|
||||
> The problem stems from the change the setreuid(). It
|
||||
> doesn't change the real uid any more, so uucp changes ids
|
||||
> back to the wrong id after opening the input file and
|
||||
> then tries to open a file in the spool directory with
|
||||
> the invoking user's permissions.
|
||||
>
|
||||
> The promised POSIX saved-setuid features don't work either,
|
||||
|
||||
I fixed setuid() and setgid() to support saved ids. This fixes
|
||||
uucp (when it is configured with HAVE_BROKEN_SETREUID=1 and
|
||||
HAVE_SAVED_SETUID=1). I don't know if the change is really safe.
|
||||
|
||||
Bruce
|
||||
|
||||
*** sys1/kern/kern_prot.c Wed May 4 17:54:23 1994
|
||||
--- src/sys/kern/kern_prot.c Sun Jun 12 06:47:11 1994
|
||||
***************
|
||||
*** 270,274 ****
|
||||
|
||||
uid = uap->uid;
|
||||
! if (uid != pc->p_ruid &&
|
||||
(error = suser(pc->pc_ucred, &p->p_acflag)))
|
||||
return (error);
|
||||
--- 270,274 ----
|
||||
|
||||
uid = uap->uid;
|
||||
! if (uid != pc->p_ruid && uid != pc->p_svuid &&
|
||||
(error = suser(pc->pc_ucred, &p->p_acflag)))
|
||||
return (error);
|
||||
***************
|
||||
*** 277,284 ****
|
||||
* not see our changes.
|
||||
*/
|
||||
pc->pc_ucred = crcopy(pc->pc_ucred);
|
||||
pc->pc_ucred->cr_uid = uid;
|
||||
- pc->p_ruid = uid;
|
||||
- pc->p_svuid = uid;
|
||||
p->p_flag |= SUGID;
|
||||
return (0);
|
||||
--- 277,286 ----
|
||||
* not see our changes.
|
||||
*/
|
||||
+ if (pc->pc_ucred->cr_uid == 0) {
|
||||
+ pc->p_ruid = uid;
|
||||
+ pc->p_svuid = uid;
|
||||
+ }
|
||||
pc->pc_ucred = crcopy(pc->pc_ucred);
|
||||
pc->pc_ucred->cr_uid = uid;
|
||||
p->p_flag |= SUGID;
|
||||
return (0);
|
||||
***************
|
||||
*** 330,339 ****
|
||||
|
||||
gid = uap->gid;
|
||||
! if (gid != pc->p_rgid && (error = suser(pc->pc_ucred, &p->p_acflag)))
|
||||
return (error);
|
||||
pc->pc_ucred = crcopy(pc->pc_ucred);
|
||||
pc->pc_ucred->cr_groups[0] = gid;
|
||||
! pc->p_rgid = gid;
|
||||
! pc->p_svgid = gid;
|
||||
p->p_flag |= SUGID;
|
||||
return (0);
|
||||
--- 332,344 ----
|
||||
|
||||
gid = uap->gid;
|
||||
! if (gid != pc->p_rgid && gid != pc->p_svgid &&
|
||||
! (error = suser(pc->pc_ucred, &p->p_acflag)))
|
||||
return (error);
|
||||
pc->pc_ucred = crcopy(pc->pc_ucred);
|
||||
pc->pc_ucred->cr_groups[0] = gid;
|
||||
! if (pc->pc_ucred->cr_uid == 0) {
|
||||
! pc->p_rgid = gid;
|
||||
! pc->p_svgid = gid;
|
||||
! }
|
||||
p->p_flag |= SUGID;
|
||||
return (0);
|
||||
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
From julian Wed Aug 24 20:05:58 1994
|
||||
Return-Path: <julian>
|
||||
Received: by tfs.com (smail3.1.28.1)
|
||||
Message-Id: <[email protected]>
|
||||
Date: Wed, 24 Aug 94 20:05 PDT
|
||||
From: julian (Julian Elischer)
|
||||
To: phk
|
||||
Subject: a patch to st.c and to related files...
|
||||
Status: RO
|
||||
|
||||
There have been several people asking for this patch.
|
||||
|
||||
>
|
||||
> From pressco.com!ljo Mon Aug 8 05:30:52 1994
|
||||
> Return-Path: <[email protected]>
|
||||
> Received: from dialup.oar.net by tfs.com (smail3.1.28.1) with SMTP
|
||||
> id m0qXTqt-0003wNC; Mon, 8 Aug 94 05:30 PDT
|
||||
> Received: from pressco.com for [email protected]
|
||||
> by dialup.oar.net (PIPE/8.6.8.1/931123.1402) id IAA15392; Mon, 8 Aug 1994 08:30:47 -0400
|
||||
> Received: from holiday.pressco.com (holiday-2) by pressco.com (4.1/SMI-4.1)
|
||||
> id AA09605; Mon, 8 Aug 94 08:20:22 EDT
|
||||
> Received: from localhost (ljo@localhost) by holiday.pressco.com (8.6.5/8.6.6) id IAA00562; Mon, 8 Aug 1994 08:21:15 -0400
|
||||
> Date: Mon, 8 Aug 1994 08:21:15 -0400
|
||||
> From: L Jonas Olsson <[email protected]>
|
||||
> Message-Id: <[email protected]>
|
||||
> To: [email protected]
|
||||
> Subject: st eom support
|
||||
> Status: RO
|
||||
|
||||
Hi Julian,
|
||||
Here's some basic patches to implement st eom.
|
||||
I also looked at how Sun is doing this. They have the file(s)
|
||||
/sys/sundev/ st_conf.c (older versions have st_reg.h). This has records
|
||||
for setting up each device, e.g.:
|
||||
{
|
||||
"ArchiveST 4mm DAT/DAT-DC", 14, "ARCHIVE python", 0x30, 512,
|
||||
(ST_KNOWS_EOD | ST_BSF | ST_BSR | ST_VARIABLE), 5000, 5000,
|
||||
{0, 0, 0, 0, }, {0, 0, 0, 0}
|
||||
}
|
||||
|
||||
The interesting part is the capabilities field. I guess we could
|
||||
infer capabilities from the density perhaps? All drives supporting DAT
|
||||
density does probably have ST_KNOWS_EOD | ST_BSF | ST_BSR |
|
||||
ST_VARIABLE.
|
||||
The Sun driver uses several st/mt fsf if ST_KNOWS_EOD is not present.
|
||||
|
||||
Jonas
|
||||
|
||||
*** src/sys/sys/mtio.h~ Thu Nov 18 04:07:52 1993
|
||||
--- src/sys/sys/mtio.h Fri Aug 5 11:12:14 1994
|
||||
***************
|
||||
*** 74,79 ****
|
||||
--- 74,82 ----
|
||||
#define MTSETDNSTY 11
|
||||
#endif
|
||||
|
||||
+ #define MTEOM 12 /* space to end of media */
|
||||
+ #define MTERASE 13 /* erase the whole tape */
|
||||
+
|
||||
/* structure for MTIOCGET - mag tape get status command */
|
||||
|
||||
struct mtget {
|
||||
*** src/sys/scsi/st.c.orig Fri Aug 5 11:01:26 1994
|
||||
--- src/sys/scsi/st.c Fri Aug 5 11:13:00 1994
|
||||
***************
|
||||
*** 1152,1157 ****
|
||||
--- 1152,1163 ----
|
||||
errcode = st_space(unit, number - nmarks,
|
||||
SP_FILEMARKS, flags);
|
||||
break;
|
||||
+ case MTEOM: /* space to end of media */
|
||||
+ errcode = st_chkeod(unit, FALSE, &nmarks, flags);
|
||||
+ if (errcode == ESUCCESS)
|
||||
+ errcode = st_space(unit, 1,
|
||||
+ SP_EOM, flags);
|
||||
+ break;
|
||||
case MTBSR: /* backward space record */
|
||||
number = -number;
|
||||
case MTFSR: /* forward space record */
|
||||
*** src/sbin/st/st.c~ Thu Nov 18 00:05:24 1993
|
||||
--- src/sbin/st/st.c Fri Aug 5 11:14:41 1994
|
||||
***************
|
||||
*** 62,67 ****
|
||||
--- 62,68 ----
|
||||
{ "weof", MTWEOF, 0 },
|
||||
{ "eof", MTWEOF, 0 },
|
||||
{ "fsf", MTFSF, 1 },
|
||||
+ { "eom", MTEOM, 1 },
|
||||
{ "bsf", MTBSF, 1 },
|
||||
{ "fsr", MTFSR, 1 },
|
||||
{ "bsr", MTBSR, 1 },
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,328 @@
|
||||
From freefall.cdrom.com!owner-freebsd-hackers Wed Aug 24 07:58:32 1994
|
||||
Return-Path: <[email protected]>
|
||||
Received: from freefall.cdrom.com by tfs.com (smail3.1.28.1) with SMTP
|
||||
id m0qdJmQ-0003xpa; Wed, 24 Aug 94 07:58 PDT
|
||||
Received: (from root@localhost) by freefall.cdrom.com (8.6.8/8.6.6) id HAA12879 for freebsd-hackers-outgoing; Wed, 24 Aug 1994 07:54:14 -0700
|
||||
Received: from id.slip.bcm.tmc.edu (id.slip.bcm.tmc.edu [128.249.248.67]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id HAA12864 for <[email protected]>; Wed, 24 Aug 1994 07:51:33 -0700
|
||||
Received: by id.slip.bcm.tmc.edu (8.6.8/1.34)
|
||||
id JAA17760; Wed, 24 Aug 1994 09:48:58 -0501
|
||||
Date: Wed, 24 Aug 1994 09:48:58 -0501
|
||||
From: [email protected] (Rich Murphey)
|
||||
Message-Id: <[email protected]>
|
||||
To: [email protected]
|
||||
CC: [email protected], [email protected], [email protected],
|
||||
[email protected]
|
||||
In-reply-to: <[email protected]> (message from David Greenman on Wed, 24 Aug 1994 02:55:06 -0700)
|
||||
Subject: Re: apply this patch file
|
||||
Reply-To: [email protected]
|
||||
Sender: [email protected]
|
||||
Precedence: bulk
|
||||
Status: RO
|
||||
|
||||
:From: David Greenman <[email protected]>
|
||||
:
|
||||
:>This is against POSIX: POSIX says that you can't do anything
|
||||
:>with carrier lost device until closing it, i.e. clearing
|
||||
:>TS_ZOMBIE is illegal. Proper POSIX way is close()/open() device
|
||||
:>again like kermit/uucp does. Ask Bruce for more detailed info.
|
||||
:
|
||||
: I'm aware of the issues involved.
|
||||
: The problem has to do with a vnode reference that prevents the tty from
|
||||
:being completely closed (caused by the tty being a session leader with a
|
||||
:control tty). Regardless of what POSIX says, this is the only reasonable way
|
||||
:to solve this problem until the code is changed to allow a session leader to
|
||||
:get rid of it's control tty. I tried to find a way to do this and was
|
||||
:unsuccessful. The only solution that the code allows is for the process to
|
||||
:exit. It should not be necessary for the process to exit. If you can come up
|
||||
:with fixes for slattach and pppd so that they work without the patch, then
|
||||
:please do.
|
||||
|
||||
Bruce Evans suggested doing the fork before reopening the tty and
|
||||
redialing. That fixes slattach and I commited it in the 2.0 tree.
|
||||
I've also sent a copy of the patch for 1.1.5's slattach to Poul.
|
||||
|
||||
diff -rub slattach.orig/slattach.c src/sbin/slattach/slattach.c
|
||||
--- slattach.orig/slattach.c Mon May 9 14:04:20 1994
|
||||
+++ src/sbin/slattach/slattach.c Tue Aug 23 00:39:05 1994
|
||||
@@ -85,8 +85,8 @@
|
||||
* [email protected]
|
||||
*
|
||||
* sighup_handler changed to set CLOCAL before running redial_cmd.
|
||||
- * added flag exiting, so exit_handler is not run twice.
|
||||
- *
|
||||
+ * added flag exiting, so exit_handler is not run twice. Fork
|
||||
+ * before reopening tty.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@@ -126,13 +126,13 @@
|
||||
void sigint_handler(); /* SIGINT handler */
|
||||
void sigterm_handler(); /* SIGTERM handler */
|
||||
void exit_handler(int ret); /* run exit_cmd iff specified upon exit. */
|
||||
-void setup_line(); /* configure slip line */
|
||||
-void attach_line(); /* switch to slip line discipline */
|
||||
+void setup_line(int cflag); /* configure terminal settings */
|
||||
+void slip_discipline(); /* switch to slip line discipline */
|
||||
+void configure_network(); /* configure slip interface */
|
||||
+void acquire_line(); /* get tty device as controling terminal */
|
||||
|
||||
int fd = -1;
|
||||
char *dev = (char *)0;
|
||||
-int slipdisc = SLIPDISC;
|
||||
-int ttydisc = TTYDISC;
|
||||
int flow_control = 0; /* non-zero to enable hardware flow control. */
|
||||
int modem_control = 0; /* non-zero iff we watch carrier. */
|
||||
int comstate; /* TIOCMGET current state of serial driver */
|
||||
@@ -145,7 +145,6 @@
|
||||
FILE *console;
|
||||
|
||||
struct termios tty;
|
||||
-struct termios tty_orig; /* For saving original tty state */
|
||||
|
||||
char devname[32];
|
||||
char hostname[MAXHOSTNAMELEN];
|
||||
@@ -171,7 +170,6 @@
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int option;
|
||||
- char name[32];
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
@@ -244,22 +242,13 @@
|
||||
|
||||
if (!foreground)
|
||||
daemon(0,0); /* fork, setsid, chdir /, and close std*. */
|
||||
+ /* daemon() closed stderr, so log errors from here on. */
|
||||
+ openlog("slattach",LOG_CONS|LOG_PID,LOG_DAEMON);
|
||||
|
||||
- /* Note: daemon() closes stderr, so log errors from here on. */
|
||||
- (void)sprintf(name,"slattach[%d]", getpid());
|
||||
- openlog(name,LOG_CONS,LOG_DAEMON);
|
||||
+ acquire_line(); /* get tty device as controling terminal */
|
||||
+ setup_line(0); /* configure for slip line discipline */
|
||||
+ slip_discipline(); /* switch to slip line discipline */
|
||||
|
||||
- if ((fd = open(dev, O_RDWR | O_NONBLOCK)) < 0) {
|
||||
- syslog(LOG_ERR, "open(%s): %m", dev);
|
||||
- exit_handler(1);
|
||||
- }
|
||||
- /* acquire the serial line as a controling terminal. */
|
||||
- if (ioctl(fd, TIOCSCTTY, 0) < 0)
|
||||
- syslog(LOG_NOTICE,"ioctl(TIOCSCTTY) failed: %s: %m");
|
||||
- /* Make us the foreground process group associated with the
|
||||
- slip line which is our controlling terminal. */
|
||||
- if (tcsetpgrp(fd, getpid()) < 0)
|
||||
- syslog(LOG_NOTICE,"tcsetpgrp failed: %s: %m");
|
||||
/* upon INT log a timestamp and exit. */
|
||||
if ((int)signal(SIGINT,sigint_handler) < 0)
|
||||
syslog(LOG_NOTICE,"cannot install SIGINT handler: %s: %m");
|
||||
@@ -269,36 +258,76 @@
|
||||
/* upon HUP redial and reconnect. */
|
||||
if ((int)signal(SIGHUP,sighup_handler) < 0)
|
||||
syslog(LOG_NOTICE,"cannot install SIGHUP handler: %s: %m");
|
||||
- /* Keep track of our original terminal values for redialing */
|
||||
- if (tcgetattr(fd, &tty_orig) < 0) {
|
||||
- syslog(LOG_ERR, "tcgetattr: %m");
|
||||
- exit_handler(1);
|
||||
- }
|
||||
-
|
||||
-
|
||||
- setup_line();
|
||||
|
||||
if (redial_on_startup)
|
||||
sighup_handler();
|
||||
- else
|
||||
- attach_line();
|
||||
- if (!(modem_control & CLOCAL)) {
|
||||
+ else if (!(modem_control & CLOCAL)) {
|
||||
ioctl(fd, TIOCMGET, &comstate);
|
||||
if (!(comstate & TIOCM_CD)) { /* check for carrier */
|
||||
/* force a redial if no carrier */
|
||||
kill (getpid(), SIGHUP);
|
||||
}
|
||||
}
|
||||
+ else
|
||||
+ configure_network(); /* configure the network if needed. */
|
||||
+
|
||||
for (;;) {
|
||||
- sigset_t mask = 0;
|
||||
+ sigset_t mask;
|
||||
+ sigemptyset(&mask);
|
||||
sigsuspend(&mask);
|
||||
}
|
||||
}
|
||||
|
||||
-void setup_line()
|
||||
+/* Close all FDs, fork, reopen tty port as 0-2, and make it the
|
||||
+ controlling terminal for our process group. */
|
||||
+void acquire_line()
|
||||
+{
|
||||
+ int ttydisc = TTYDISC;
|
||||
+ int pgrp;
|
||||
+
|
||||
+ ioctl(fd, TIOCSETD, &ttydisc); /* reset to tty discipline */
|
||||
+
|
||||
+ (void)close(STDIN_FILENO); /* close FDs before forking. */
|
||||
+ (void)close(STDOUT_FILENO);
|
||||
+ (void)close(STDERR_FILENO);
|
||||
+ if (fd > 2)
|
||||
+ (void)close(fd);
|
||||
+
|
||||
+ signal(SIGHUP, SIG_IGN); /* ignore HUP signal when parent dies. */
|
||||
+ daemon(0,0); /* fork, setsid, chdir /, and close std*. */
|
||||
+
|
||||
+ while (getppid () != 1)
|
||||
+ sleep (1); /* Wait for parent to die. */
|
||||
+
|
||||
+ if ((int)signal(SIGHUP,sighup_handler) < 0) /* Re-enable HUP signal */
|
||||
+ syslog(LOG_NOTICE,"cannot install SIGHUP handler: %s: %m");
|
||||
+
|
||||
+ if ((fd = open(dev, O_RDWR | O_NONBLOCK, 0)) < 0) {
|
||||
+ syslog(LOG_ERR, "open(%s) fd=%d: %m", dev, fd);
|
||||
+ exit_handler(1);
|
||||
+ }
|
||||
+ (void)dup2(fd, STDIN_FILENO);
|
||||
+ (void)dup2(fd, STDOUT_FILENO);
|
||||
+ (void)dup2(fd, STDERR_FILENO);
|
||||
+ if (fd > 2)
|
||||
+ (void)close (fd);
|
||||
+ fd = STDIN_FILENO;
|
||||
+
|
||||
+ /* acquire the serial line as a controling terminal. */
|
||||
+ if (ioctl(fd, TIOCSCTTY, 0) < 0)
|
||||
+ syslog(LOG_NOTICE,"ioctl(TIOCSCTTY) failed: %s: %m");
|
||||
+ /* Make us the foreground process group associated with the
|
||||
+ slip line which is our controlling terminal. */
|
||||
+ if (tcsetpgrp(fd, getpid()) < 0)
|
||||
+ syslog(LOG_NOTICE,"tcsetpgrp failed: %s: %m");
|
||||
+}
|
||||
+
|
||||
+/* Set the tty flags and set DTR. */
|
||||
+/* Call as setup_line(CLOCAL) to force clocal assertion. */
|
||||
+void setup_line(int cflag)
|
||||
{
|
||||
tty.c_lflag = tty.c_iflag = tty.c_oflag = 0;
|
||||
- tty.c_cflag = CREAD | CS8 | flow_control | modem_control;
|
||||
+ tty.c_cflag = CREAD | CS8 | flow_control | modem_control | cflag;
|
||||
tty.c_ispeed = tty.c_ospeed = speed;
|
||||
/* set the line speed and flow control */
|
||||
if (tcsetattr(fd, TCSAFLUSH, &tty) < 0) {
|
||||
@@ -310,6 +339,13 @@
|
||||
syslog(LOG_ERR, "ioctl(TIOCSDTR): %m");
|
||||
exit_handler(1);
|
||||
}
|
||||
+}
|
||||
+
|
||||
+/* Put the line in slip discipline. */
|
||||
+void slip_discipline()
|
||||
+{
|
||||
+ int slipdisc = SLIPDISC;
|
||||
+
|
||||
/* Switch to slip line discipline. */
|
||||
if (ioctl(fd, TIOCSETD, &slipdisc) < 0) {
|
||||
syslog(LOG_ERR, "ioctl(TIOCSETD): %m");
|
||||
@@ -322,8 +358,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
-/* switch to slip line discipline and configure the network. */
|
||||
-void attach_line()
|
||||
+/* configure the interface, eg. by passing the unit number to a script. */
|
||||
+void configure_network()
|
||||
{
|
||||
int new_unit;
|
||||
|
||||
@@ -354,27 +390,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
-/* Signal handler for SIGHUP when carrier is dropped. */
|
||||
+/* signup_handler() is invoked when carrier drops, eg. before redial. */
|
||||
void sighup_handler()
|
||||
{
|
||||
if(exiting) return;
|
||||
again:
|
||||
- /* reset discipline */
|
||||
- if (ioctl(fd, TIOCSETD, &ttydisc) < 0) {
|
||||
- syslog(LOG_ERR, "ioctl(TIOCSETD): %m");
|
||||
- exit_handler(1);
|
||||
- }
|
||||
/* invoke a shell for redial_cmd or punt. */
|
||||
if (redial_cmd) {
|
||||
+ acquire_line();
|
||||
+ setup_line(CLOCAL);
|
||||
syslog(LOG_NOTICE,"SIGHUP on %s (sl%d); running %s",
|
||||
dev,unit,redial_cmd);
|
||||
- if (!(modem_control & CLOCAL)) {
|
||||
- tty_orig.c_cflag |= CLOCAL;
|
||||
- if (tcsetattr(fd, TCSAFLUSH, &tty_orig) < 0) {
|
||||
- syslog(LOG_ERR, "tcsetattr(TCSAFLUSH): %m");
|
||||
- exit_handler(1);
|
||||
- }
|
||||
- }
|
||||
system(redial_cmd);
|
||||
/* Now check again for carrier (dial command is done): */
|
||||
if (!(modem_control & CLOCAL)) {
|
||||
@@ -390,50 +416,33 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
- /*
|
||||
- * No redial command.
|
||||
- *
|
||||
- * If modem control, just wait for carrier before
|
||||
- * falling through to setup_line() and attach_line().
|
||||
- * If no modem control, just fall through immediately.
|
||||
- */
|
||||
+ /* If modem control, just wait for carrier before attaching.
|
||||
+ If no modem control, just fall through immediately. */
|
||||
if (!(modem_control & CLOCAL)) {
|
||||
int carrier = 0;
|
||||
-
|
||||
syslog(LOG_NOTICE, "Waiting for carrier on %s (sl%d)",
|
||||
dev, unit);
|
||||
-
|
||||
- /* Now wait for carrier before attaching line: */
|
||||
+ /* Now wait for carrier before attaching line. */
|
||||
+ /* We must poll since CLOCAL prevents signal. */
|
||||
while (! carrier) {
|
||||
- /*
|
||||
- * Don't burn the CPU checking for carrier;
|
||||
- * carrier must be polled since there is no
|
||||
- * way to have a signal sent when carrier
|
||||
- * goes high (SIGHUP can only be sent when
|
||||
- * carrier is dropped); so add space between
|
||||
- * checks for carrier:
|
||||
- */
|
||||
sleep(2);
|
||||
-
|
||||
- /* Check for carrier present on tty port: */
|
||||
ioctl(fd, TIOCMGET, &comstate);
|
||||
- if (comstate & TIOCM_CD) {
|
||||
+ if (comstate & TIOCM_CD)
|
||||
carrier = 1;
|
||||
}
|
||||
- }
|
||||
-
|
||||
syslog(LOG_NOTICE, "Carrier now present on %s (sl%d)",
|
||||
dev, unit);
|
||||
}
|
||||
}
|
||||
- setup_line();
|
||||
- attach_line();
|
||||
+ setup_line(0);
|
||||
+ slip_discipline();
|
||||
+ configure_network();
|
||||
}
|
||||
/* Signal handler for SIGINT. We just log and exit. */
|
||||
void sigint_handler()
|
||||
{
|
||||
if(exiting) return;
|
||||
- syslog(LOG_NOTICE,"sl%d on %s caught SIGINT, exiting.",unit,dev);
|
||||
+ syslog(LOG_NOTICE,"SIGINT on %s (sl%d); exiting",dev,unit);
|
||||
exit_handler(0);
|
||||
}
|
||||
/* Signal handler for SIGTERM. We just log and exit. */
|
||||
|
||||
|
||||
-49
@@ -1,49 +0,0 @@
|
||||
$Id$
|
||||
|
||||
This file lists hardware, which doesn't do what it should do.
|
||||
|
||||
Due to the nature of FreeBSD, we do not have the resources to test all
|
||||
possible kinds of hardware. We do however every now and then find, buy
|
||||
or hear about hardware which doesn't work with FreeBSD or in general.
|
||||
|
||||
This is that list.
|
||||
|
||||
To be added to this list, a piece of hardware has to:
|
||||
A: not do what it claims.
|
||||
or
|
||||
B: not do what common sense would expect it to.
|
||||
|
||||
Only if performance claims are wildly of the mark will it be listed here.
|
||||
|
||||
All entries must have a date and a mail-address associated with them, to
|
||||
reflect when and by whom they were added.
|
||||
For multifunctional devices, please indicate if other parts of the device
|
||||
work OK, or are untested.
|
||||
For mutual incompabilities, list both devices.
|
||||
For SCSI and IDE-devices, list the string seen on boot of FreeBSD, if
|
||||
possible, and trade name.
|
||||
Infer format from other entries, Keep sorted by first line.
|
||||
|
||||
Thankyou.
|
||||
|
||||
---
|
||||
Controller, Data Technology DTC2280, "PC/AT Super I/O Card"
|
||||
IDE interface can be set to secondary address, but doesn't work there. Suspect
|
||||
Interrupt isn't moved along. Works fine on primary address. Other parts of
|
||||
card not tested.
|
||||
19940828 [email protected]
|
||||
---
|
||||
IDE-disk, <Maxtor 7345 AT>, "Maxtor 7345"
|
||||
Cannot coexist on the same IDE-controller with a <WDC AC2540H>, "Western
|
||||
Digital Caviar 2540" disk. Jumpers not exhaustively experimented with, as
|
||||
neither of the companies make sufficient information available. Disk works
|
||||
fine when alone on IDE-controller.
|
||||
19940828 [email protected]
|
||||
---
|
||||
IDE-disk, <WDC AC2540H>, "Western Digital Caviar 2540"
|
||||
Cannot coexist on the same IDE-controller with a <Maxtor 7345 AT>, "Maxtor
|
||||
7345" disk. Jumpers not exhaustively experimented with, as neither of the
|
||||
companies make sufficient information available. Disk works fine when alone
|
||||
on IDE-controller.
|
||||
19940828 [email protected]
|
||||
---
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.28 1994/11/01 19:52:38 pst Exp $
|
||||
# Makefile,v 1.30 1994/11/14 20:52:54 phk Exp
|
||||
#
|
||||
# Make command line options:
|
||||
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
|
||||
@@ -23,16 +23,17 @@
|
||||
# Put initial settings here.
|
||||
SUBDIR=
|
||||
|
||||
# Must be first for "distribute" to work
|
||||
.if exists(release)
|
||||
SUBDIR+= release
|
||||
.endif
|
||||
|
||||
.if exists(bin)
|
||||
SUBDIR+= bin
|
||||
.endif
|
||||
.if exists(contrib)
|
||||
SUBDIR+= contrib
|
||||
.endif
|
||||
.if exists(etc)
|
||||
# XXX until etc vs release conversion is done
|
||||
# SUBDIR+= etc
|
||||
.endif
|
||||
.if exists(games)
|
||||
SUBDIR+= games
|
||||
.endif
|
||||
@@ -76,6 +77,11 @@ SUBDIR+= secure
|
||||
SUBDIR+= lkm
|
||||
.endif
|
||||
|
||||
# etc must be last for "distribute" to work
|
||||
.if exists(etc) && make(distribute)
|
||||
SUBDIR+= etc
|
||||
.endif
|
||||
|
||||
# These are last, since it is nice to at least get the base system
|
||||
# rebuilt before you do them.
|
||||
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
-----------------------------------------
|
||||
FreeBSD 2.0 --- ALPHA Release , ,
|
||||
----------------------------------------- /( )`
|
||||
\ \___ / |
|
||||
Welcome to the ALPHA release of FreeBSD 2.0 - the /- _ `-/ '
|
||||
first public snapshot of our new 4.4BSD Lite based (/\/ \ \ /\
|
||||
operating system environment. This install proce- / / | ` \
|
||||
dure is also at the ALPHA stage, and contains only O O ) / |
|
||||
the minimum functionality required by an `-^--'`< '
|
||||
*EXPERIENCED* person to install the system. (_.) _ ) /
|
||||
It is our hope, of course, that the feedback `.___/` /
|
||||
provided from this snapshot will `-----' /
|
||||
greatly assist us in making the release <----. __ / __ \
|
||||
of 2.0 much more user friendly. Your <----|====O)))==) \) /====
|
||||
comments and criticisms are very <----' `--' `.__,' \
|
||||
valuable to us, so please don't hesitate | |
|
||||
in contacting us! Full details on where and \ / /\
|
||||
how to provide feedback are given below. ______( (_ / \______/
|
||||
,' ,-----' |
|
||||
This install procedure is ALPHA code, and `--{__________)
|
||||
may very possibly *DESTROY* the contents of your
|
||||
ENTIRE DISK! Please do not proceed with this installation
|
||||
unless you've adequately backed up your data first!
|
||||
|
||||
If any errors occur during this installation, you can see them
|
||||
by toggling over to the alternate screen - type ALT-F2 to switch
|
||||
over, ALT-F1 to switch back to the install screen. The debugging
|
||||
output on the second screen may be very valuable to us in understanding
|
||||
your bug report, so please be sure to take note of it when reporting
|
||||
any failures in the installation! Thanks!
|
||||
|
||||
Menus and scrolling output windows may be traversed with the arrow
|
||||
and Page Up/Page Down keys. To abort the installation at any point,
|
||||
hit ESC twice. Hitting TAB will move the focus to different controls.
|
||||
If you've ever dealt with a DOS installation, you'll know how to deal
|
||||
with this.
|
||||
|
||||
For a more complete description of what's new in this release, please
|
||||
see the release notes.
|
||||
|
||||
For more documentation on this system, it is recommended that you purchase
|
||||
the 4.4BSD Document Set from O'Reilly Associates and the USENIX Association.
|
||||
ISBN 1-56592-082-1 We have no connection with O'Reilly, we're just
|
||||
satisfied customers!
|
||||
|
||||
Have fun, and please let us know of any problems you encounter with
|
||||
this release!
|
||||
|
||||
Comments should be sent to:
|
||||
|
||||
[email protected]
|
||||
|
||||
Bug reports should be sent using the `send-pr' utility, if you
|
||||
were able to get the system installed, otherwise to:
|
||||
|
||||
[email protected]
|
||||
|
||||
And general questions to:
|
||||
|
||||
[email protected]
|
||||
|
||||
|
||||
Please have patience if your questions are not answered right away -
|
||||
this is an especially busy time for us, and our volunteer resources
|
||||
are often strained to the limit (if not somewhat past!).
|
||||
|
||||
Thanks!
|
||||
|
||||
The FreeBSD Project
|
||||
@@ -1,4 +1,4 @@
|
||||
; $Id: TODO,v 1.4 1994/09/11 20:01:03 phk Exp $
|
||||
; TODO,v 1.5 1994/10/23 04:06:10 phk Exp
|
||||
|
||||
** To skip this preamble, search forward for the pattern `**'.
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/18 21:25:26 wollman Exp
|
||||
|
||||
SUBDIR= cat chmod cp csh date dd df domainname echo ed expr hostname \
|
||||
kill ln ls mkdir mv pax ps pwd rcp rm rmail rmdir sh sleep \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:53:25 davidg Exp
|
||||
|
||||
PROG= cat
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)cat.1 8.1 (Berkeley) 6/29/93
|
||||
.\" $Id$
|
||||
.\" cat.1,v 1.2 1994/09/24 02:53:25 davidg Exp
|
||||
.\"
|
||||
.Dd June 29, 1993
|
||||
.Dt CAT 1
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* cat.c,v 1.2 1994/09/24 02:53:26 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
PROG= chflags
|
||||
SRCS= chflags.c stat_flags.c
|
||||
.PATH: ${.CURDIR}/../../bin/ls
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
@@ -1,123 +0,0 @@
|
||||
.\" Copyright (c) 1989, 1990, 1993, 1994
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
.\"
|
||||
.\" This code is derived from software contributed to Berkeley by
|
||||
.\" the Institute of Electrical and Electronics Engineers, Inc.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. All advertising materials mentioning features or use of this software
|
||||
.\" must display the following acknowledgement:
|
||||
.\" This product includes software developed by the University of
|
||||
.\" California, Berkeley and its contributors.
|
||||
.\" 4. Neither the name of the University nor the names of its contributors
|
||||
.\" may be used to endorse or promote products derived from this software
|
||||
.\" without specific prior written permission.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)chflags.1 8.2 (Berkeley) 3/31/94
|
||||
.\"
|
||||
.Dd March 31, 1994
|
||||
.Dt CHFLAGS 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm chflags
|
||||
.Nd change file flags
|
||||
.Sh SYNOPSIS
|
||||
.Nm chflags
|
||||
.Oo
|
||||
.Fl R
|
||||
.Op Fl H | Fl L | Fl P
|
||||
.Oc
|
||||
.Ar flags
|
||||
.Ar file ...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm chflags
|
||||
utility modifies the file flags of the listed files
|
||||
as specified by the
|
||||
.Ar flags
|
||||
operand.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width Ds
|
||||
.It Fl H
|
||||
If the
|
||||
.Fl R
|
||||
option is specified, symbolic links on the command line are followed.
|
||||
(Symbolic links encountered in the tree traversal are not followed.)
|
||||
.It Fl L
|
||||
If the
|
||||
.Fl R
|
||||
option is specified, all symbolic links are followed.
|
||||
.It Fl P
|
||||
If the
|
||||
.Fl R
|
||||
option is specified, no symbolic links are followed.
|
||||
.It Fl R
|
||||
Change the file flags for the file hierarchies rooted
|
||||
in the files instead of just the files themselves.
|
||||
.El
|
||||
.Pp
|
||||
Flags are a comma separated list of keywords.
|
||||
The following keywords are currently defined:
|
||||
.Bd -literal -offset indent compact
|
||||
.\"arch nothing yet.
|
||||
dump set the dump flag
|
||||
sappnd set the system append-only flag (super-user only)
|
||||
schg set the system immutable flag (super-user only)
|
||||
uappnd set the user append-only flag (owner or super-user only)
|
||||
uchg set the user immutable flag (owner or super-user only)
|
||||
.Ed
|
||||
.Pp
|
||||
Putting the letters
|
||||
.Dq no
|
||||
before an option causes the flag to be turned off.
|
||||
For example:
|
||||
.Bd -literal -offset indent compact
|
||||
nodump the file should never be dumped
|
||||
.Ed
|
||||
.Pp
|
||||
Symbolic links do not have flags, so unless the
|
||||
.Fl H
|
||||
or
|
||||
.Fl L
|
||||
option is set,
|
||||
.Nm chflags
|
||||
on a symbolic link always succeeds and has no effect.
|
||||
The
|
||||
.Fl H ,
|
||||
.Fl L
|
||||
and
|
||||
.Fl P
|
||||
options are ignored unless the
|
||||
.Fl R
|
||||
option is specified.
|
||||
In addition, these options override each other and the
|
||||
command's actions are determined by the last one specified.
|
||||
.Pp
|
||||
The
|
||||
.Nm chflags
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Xr chflags 2 ,
|
||||
.Xr stat 2 ,
|
||||
.Xr fts 3 ,
|
||||
.Xr symlink 7
|
||||
@@ -1,180 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1992, 1993, 1994
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char copyright[] =
|
||||
"@(#) Copyright (c) 1992, 1993, 1994\n\
|
||||
The Regents of the University of California. All rights reserved.\n";
|
||||
#endif /* not lint */
|
||||
|
||||
#ifndef lint
|
||||
static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <fts.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
u_long string_to_flags __P((char **, u_long *, u_long *));
|
||||
void usage __P((void));
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
FTS *ftsp;
|
||||
FTSENT *p;
|
||||
u_long clear, set;
|
||||
long val;
|
||||
int Hflag, Lflag, Pflag, Rflag, ch, fts_options, oct, rval;
|
||||
char *flags, *ep;
|
||||
|
||||
Hflag = Lflag = Pflag = Rflag = 0;
|
||||
while ((ch = getopt(argc, argv, "HLPR")) != EOF)
|
||||
switch (ch) {
|
||||
case 'H':
|
||||
Hflag = 1;
|
||||
Lflag = Pflag = 0;
|
||||
break;
|
||||
case 'L':
|
||||
Lflag = 1;
|
||||
Hflag = Pflag = 0;
|
||||
break;
|
||||
case 'P':
|
||||
Pflag = 1;
|
||||
Hflag = Lflag = 0;
|
||||
break;
|
||||
case 'R':
|
||||
Rflag = 1;
|
||||
break;
|
||||
case '?':
|
||||
default:
|
||||
usage();
|
||||
}
|
||||
argv += optind;
|
||||
argc -= optind;
|
||||
|
||||
if (argc < 2)
|
||||
usage();
|
||||
|
||||
fts_options = FTS_PHYSICAL;
|
||||
if (Rflag) {
|
||||
if (Hflag)
|
||||
fts_options |= FTS_COMFOLLOW;
|
||||
if (Lflag) {
|
||||
fts_options &= ~FTS_PHYSICAL;
|
||||
fts_options |= FTS_LOGICAL;
|
||||
}
|
||||
}
|
||||
|
||||
flags = *argv;
|
||||
if (*flags >= '0' && *flags <= '7') {
|
||||
errno = 0;
|
||||
val = strtol(flags, &ep, 8);
|
||||
if (val < 0)
|
||||
errno = ERANGE;
|
||||
if (errno)
|
||||
err(1, "invalid flags: %s", flags);
|
||||
if (*ep)
|
||||
errx(1, "invalid flags: %s", flags);
|
||||
set = val;
|
||||
oct = 1;
|
||||
} else {
|
||||
if (string_to_flags(&flags, &set, &clear))
|
||||
errx(1, "invalid flag: %s", flags);
|
||||
clear = ~clear;
|
||||
oct = 0;
|
||||
}
|
||||
|
||||
if ((ftsp = fts_open(++argv, fts_options , 0)) == NULL)
|
||||
err(1, NULL);
|
||||
|
||||
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
|
||||
switch (p->fts_info) {
|
||||
case FTS_D:
|
||||
if (Rflag) /* Change it at FTS_DP. */
|
||||
continue;
|
||||
fts_set(ftsp, p, FTS_SKIP);
|
||||
break;
|
||||
case FTS_DNR: /* Warn, chflag, continue. */
|
||||
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
|
||||
rval = 1;
|
||||
break;
|
||||
case FTS_ERR: /* Warn, continue. */
|
||||
case FTS_NS:
|
||||
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
|
||||
rval = 1;
|
||||
continue;
|
||||
case FTS_SL: /* Ignore. */
|
||||
case FTS_SLNONE:
|
||||
/*
|
||||
* The only symlinks that end up here are ones that
|
||||
* don't point to anything and ones that we found
|
||||
* doing a physical walk.
|
||||
*/
|
||||
continue;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (oct) {
|
||||
if (!chflags(p->fts_accpath, set))
|
||||
continue;
|
||||
} else {
|
||||
p->fts_statp->st_flags |= set;
|
||||
p->fts_statp->st_flags &= clear;
|
||||
if (!chflags(p->fts_accpath, p->fts_statp->st_flags))
|
||||
continue;
|
||||
}
|
||||
warn("%s", p->fts_path);
|
||||
rval = 1;
|
||||
}
|
||||
if (errno)
|
||||
err(1, "fts_read");
|
||||
exit(rval);
|
||||
}
|
||||
|
||||
void
|
||||
usage()
|
||||
{
|
||||
(void)fprintf(stderr,
|
||||
"usage: chflags [-R [-H | -L | -P]] flags file ...\n");
|
||||
exit(1);
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:53:36 davidg Exp
|
||||
|
||||
PROG= chmod
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
|
||||
.\" $Id$
|
||||
.\" chmod.1,v 1.2 1994/09/24 02:53:37 davidg Exp
|
||||
.\"
|
||||
.Dd March 31, 1994
|
||||
.Dt CHMOD 1
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* chmod.c,v 1.2 1994/09/24 02:53:37 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:53:39 davidg Exp
|
||||
|
||||
PROG= cp
|
||||
SRCS= cp.c utils.c
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
|
||||
.\" $Id$
|
||||
.\" cp.1,v 1.2 1994/09/24 02:53:40 davidg Exp
|
||||
.\"
|
||||
.Dd April 18, 1994
|
||||
.Dt CP 1
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* cp.c,v 1.2 1994/09/24 02:53:41 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)extern.h 8.2 (Berkeley) 4/1/94
|
||||
* $Id$
|
||||
* extern.h,v 1.2 1994/09/24 02:53:41 davidg Exp
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* utils.c,v 1.2 1994/09/24 02:53:42 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.5 1994/09/24 02:53:44 davidg Exp
|
||||
#
|
||||
# C Shell with process control; VM/UNIX VAX Makefile
|
||||
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 8/14/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:54:22 davidg Exp
|
||||
|
||||
DIR= usd/04.csh
|
||||
SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.a csh.g
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.1 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" csh.1,v 1.2 1994/09/24 02:54:23 davidg Exp
|
||||
.\"
|
||||
.EH 'USD:4-%''An Introduction to the C shell'
|
||||
.OH 'An Introduction to the C shell''USD:4-%'
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.2 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" csh.2,v 1.2 1994/09/24 02:54:24 davidg Exp
|
||||
.\"
|
||||
.nr H1 1
|
||||
.NH
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.3 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" csh.3,v 1.2 1994/09/24 02:54:26 davidg Exp
|
||||
.\"
|
||||
.nr H1 2
|
||||
.NH
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.4 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" csh.4,v 1.2 1994/09/24 02:54:27 davidg Exp
|
||||
.\"
|
||||
.nr H1 3
|
||||
.NH
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.a 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" csh.a,v 1.2 1994/09/24 02:54:28 davidg Exp
|
||||
.\"
|
||||
.SH
|
||||
Appendix \- Special characters
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.g 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" csh.g,v 1.2 1994/09/24 02:54:31 davidg Exp
|
||||
.\"
|
||||
.SH
|
||||
Glossary
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)tabs 8.1 (Berkeley) 6/8/93
|
||||
.\" $Id$
|
||||
.\" tabs,v 1.2 1994/09/24 02:54:32 davidg Exp
|
||||
.\"
|
||||
.ta 5n 10n 15n 20n 25n 30n 35n 40n 45n 50n 55n 60n 65n 70n 75n 80n
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* alloc.c,v 1.2 1994/09/24 02:53:45 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* char.c,v 1.2 1994/09/24 02:53:46 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)char.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* char.h,v 1.2 1994/09/24 02:53:47 davidg Exp
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* const.c,v 1.2 1994/09/24 02:53:48 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
|
||||
.\" $Id$
|
||||
.\" csh.1,v 1.2 1994/09/24 02:53:49 davidg Exp
|
||||
.\"
|
||||
.Dd January 21, 1994
|
||||
.Dt CSH 1
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* csh.c,v 1.2 1994/09/24 02:53:51 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)csh.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* csh.h,v 1.2 1994/09/24 02:53:52 davidg Exp
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* dir.c,v 1.2 1994/09/24 02:53:54 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)dir.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* dir.h,v 1.2 1994/09/24 02:53:55 davidg Exp
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* dol.c,v 1.2 1994/09/24 02:53:56 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* err.c,v 1.2 1994/09/24 02:53:57 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* exec.c,v 1.2 1994/09/24 02:53:59 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* exp.c,v 1.2 1994/09/24 02:54:00 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)extern.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* extern.h,v 1.2 1994/09/24 02:54:02 davidg Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* file.c,v 1.2 1994/09/24 02:54:03 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* func.c,v 1.2 1994/09/24 02:54:04 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* glob.c,v 1.2 1994/09/24 02:54:05 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* hist.c,v 1.2 1994/09/24 02:54:06 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* init.c,v 1.2 1994/09/24 02:54:07 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* lex.c,v 1.2 1994/09/24 02:54:09 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* misc.c,v 1.2 1994/09/24 02:54:10 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* parse.c,v 1.2 1994/09/24 02:54:11 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* pathnames.h,v 1.2 1994/09/24 02:54:12 davidg Exp
|
||||
*/
|
||||
|
||||
#define _PATH_BIN "/bin"
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* proc.c,v 1.2 1994/09/24 02:54:13 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)proc.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* proc.h,v 1.2 1994/09/24 02:54:14 davidg Exp
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* sem.c,v 1.2 1994/09/24 02:54:15 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* set.c,v 1.2 1994/09/24 02:54:16 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* str.c,v 1.2 1994/09/24 02:54:18 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* time.c,v 1.2 1994/09/24 02:54:20 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:54:33 davidg Exp
|
||||
|
||||
PROG= date
|
||||
SRCS= date.c netdate.c
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)date.1 8.2 (Berkeley) 11/17/93
|
||||
.\" $Id$
|
||||
.\" date.1,v 1.4 1994/09/24 02:54:34 davidg Exp
|
||||
.\"
|
||||
.Dd November 17, 1993
|
||||
.Dt DATE 1
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* date.c,v 1.2 1994/09/24 02:54:36 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)extern.h 8.1 (Berkeley) 5/31/93
|
||||
* $Id$
|
||||
* extern.h,v 1.2 1994/09/24 02:54:37 davidg Exp
|
||||
*/
|
||||
|
||||
int netsettime __P((time_t));
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* netdate.c,v 1.2 1994/09/24 02:54:38 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:54:40 davidg Exp
|
||||
|
||||
PROG= dd
|
||||
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* args.c,v 1.3 1994/09/24 02:54:42 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* conv.c,v 1.3 1994/09/24 02:54:44 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* conv_tab.c,v 1.2 1994/09/24 02:54:47 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)dd.1 8.2 (Berkeley) 1/13/94
|
||||
.\" $Id$
|
||||
.\" dd.1,v 1.2 1994/09/24 02:54:49 davidg Exp
|
||||
.\"
|
||||
.Dd January 13, 1994
|
||||
.Dt DD 1
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* dd.c,v 1.2 1994/09/24 02:54:52 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)dd.h 8.3 (Berkeley) 4/2/94
|
||||
* $Id$
|
||||
* dd.h,v 1.2 1994/09/24 02:54:54 davidg Exp
|
||||
*/
|
||||
|
||||
/* Input/output stream state. */
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)extern.h 8.3 (Berkeley) 4/2/94
|
||||
* $Id$
|
||||
* extern.h,v 1.2 1994/09/24 02:54:57 davidg Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* misc.c,v 1.2 1994/09/24 02:55:01 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* position.c,v 1.2 1994/09/24 02:55:03 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.2 (Berkeley) 4/1/94
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:55:06 davidg Exp
|
||||
|
||||
PROG= df
|
||||
BINGRP= operator
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)df.1 8.2 (Berkeley) 1/13/94
|
||||
.\" $Id$
|
||||
.\" df.1,v 1.3 1994/09/24 02:55:08 davidg Exp
|
||||
.\"
|
||||
.Dd January 13, 1994
|
||||
.Dt DF 1
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* df.c,v 1.5 1994/09/24 02:55:11 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id$
|
||||
# Makefile,v 1.1 1994/09/18 21:23:35 wollman Exp
|
||||
|
||||
PROG= domainname
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
|
||||
.\" $Id$
|
||||
.\" domainname.1,v 1.1 1994/09/18 21:23:36 wollman Exp
|
||||
.\"
|
||||
.Dd September 18, 1994
|
||||
.Dt DOMAINNAME 1
|
||||
|
||||
@@ -40,7 +40,7 @@ static char copyright[] =
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93"; */
|
||||
static const char rcsid[] =
|
||||
"$Id: domainname.c,v 1.3 1994/09/21 22:30:55 bde Exp $";
|
||||
"domainname.c,v 1.4 1994/09/26 02:14:27 wollman Exp";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id$
|
||||
# Makefile,v 1.2 1994/09/24 02:55:15 davidg Exp
|
||||
|
||||
PROG= echo
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93
|
||||
.\" $Id$
|
||||
.\" echo.1,v 1.2 1994/09/24 02:55:17 davidg Exp
|
||||
.\"
|
||||
.Dd July 22, 1993
|
||||
.Dt ECHO 1
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* echo.c,v 1.2 1994/09/24 02:55:18 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.8 1994/09/24 02:55:20 davidg Exp $
|
||||
# Makefile,v 1.9 1994/10/29 10:13:34 phk Exp
|
||||
|
||||
PROG= ed
|
||||
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
$Id$
|
||||
POSIX,v 1.4 1994/09/24 02:55:20 davidg Exp
|
||||
|
||||
This version of ed(1) is not strictly POSIX compliant, as described in
|
||||
the POSIX 1003.2 document. The following is a summary of the omissions,
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
$Id$
|
||||
README,v 1.4 1994/09/24 02:55:21 davidg Exp
|
||||
|
||||
ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
|
||||
any regular expression package that conforms to the POSIX interface
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* buf.c,v 1.6 1994/09/24 02:55:22 davidg Exp
|
||||
*/
|
||||
#ifndef lint
|
||||
static char *rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)bdes.c 5.5 (Berkeley) 6/27/91
|
||||
* $Id$
|
||||
* cbc.c,v 1.4 1994/09/24 02:55:24 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
.\" $Id$
|
||||
.\" ed.1,v 1.6 1994/09/24 02:55:24 davidg Exp
|
||||
.TH ED 1 "21 May 1993"
|
||||
.SH NAME
|
||||
.\" ed, red \- text editor
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
|
||||
* $Id: ed.h,v 1.7 1994/09/24 02:55:25 davidg Exp $
|
||||
* ed.h,v 1.8 1994/11/03 21:46:55 davidg Exp
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* glbl.c,v 1.2 1994/09/24 02:55:26 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* io.c,v 1.3 1994/09/24 02:55:27 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* main.c,v 1.3 1994/09/24 02:55:28 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* re.c,v 1.8 1994/09/24 02:55:29 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* sub.c,v 1.3 1994/09/24 02:55:31 davidg Exp
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id$
|
||||
# Makefile,v 1.5 1994/09/24 02:55:35 davidg Exp
|
||||
|
||||
SHELL= /bin/sh
|
||||
ED= ../obj/ed
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loaded 100 of 5557 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user