Compare commits

...
1203 Commits
Author SHA1 Message Date
Juli Mallett cbeac462bb MFC: fortune(6) datfiles 2002-08-10 02:19:34 +00:00
Trevor Johnson d932b6ddcd from RELENG_4, patch by Theo de Raadt and Darren Reed to prevent
unprivileged users from tracing a process which formerly had
privileges (described in FreeBSD-SA-02:30)

Approved by:	security-officer
2002-07-23 05:19:46 +00:00
Trevor Johnson a29ea63414 MFC: fix buffer overflows described in FreeBSD-SA-02:28.resolv.
Reviewed by:	imp
2002-07-10 06:48:21 +00:00
Ruslan Ermilov 74674d292a MFC: 1.18: Terminate the array of execv(3) pointers by a NULL pointer. 2001-10-04 09:12:35 +00:00
Robert Watson 12d32f11a4 MFC/MFS per-user .login_conf disable + adjacent comment.
login.conf.5: 1.27
login_cap.c: 1.22, 1.23

Requested by:	[email protected]
2001-09-20 21:30:47 +00:00
Ruslan Ermilov b92ef75d68 MFC: Prevent remotely exploitable buffer overflow. 2001-07-23 14:13:45 +00:00
Peter Wemm 9d18d904f7 For what its worth:
MFC: rev 1.131: set P_SUGID before releasing ptrace and block opportunities
2001-06-16 23:43:32 +00:00
Akinori MUSHA e282c333ef MFC: Correct and update Japanese holidays. 2001-04-20 14:14:21 +00:00
Nate Williams 3a1c4e324a - Merge in better fix for remote buffer expoit from RELENG_3.
Prodded by:	Chris Faulhaber <[email protected]>
2001-04-08 16:51:41 +00:00
Nate Williams 6780b2b8b5 - Applied PHK's NTPDX remote-exploit fix.
{ Tested on my 2.2.8 box using the sample exploit code }
2001-04-08 16:43:05 +00:00
Alfred Perlstein 9fb793c418 MFC: socket.h (1.25), shutdown.2 (1.5)
howto arguments for shutdown(2), specified by Posix.1g.
add $FreeBSD where needed
2001-02-09 22:53:18 +00:00
Jeroen Ruigrok van der Werven bd1770647f MFC: Format string fix. 2000-11-06 10:17:47 +00:00
Jeroen Ruigrok van der Werven 723048e922 Fix temporary file creation problem.
Obtained from:	NetBSD dol.c r1.15
2000-11-05 21:57:59 +00:00
Jeroen Ruigrok van der Werven 31852454cb Unbreak world due to a very, very lame typo by myself.
Sorry for the trouble it caused.

Submitted by:	Phil Homewood <[email protected]>
Noticed by:	Chad R. Larson <[email protected]>
2000-11-02 18:54:14 +00:00
Jeroen Ruigrok van der Werven fe8b882959 Back out previous commit. 2000-10-09 05:52:21 +00:00
Jeroen Ruigrok van der Werven 9e8426b6d5 MFC: Disable finger, rsh and rlogin by default 2000-10-08 12:45:50 +00:00
Jeroen Ruigrok van der Werven e36ea33f8d MFC: - Format string paranoia
- Add $FreeBSD$
2000-10-08 12:37:27 +00:00
Jeroen Ruigrok van der Werven a794f33101 MFC: - String format paranoia
- Add $FreeBSD$
2000-10-08 12:01:35 +00:00
Yoshihiro Takahashi 5e2e02c016 Merged from sys/i386/conf/files.i386 revision 1.141.2.26. 2000-10-07 00:24:47 +00:00
Alfred Perlstein 1d9008d5b3 fix arc4random, MFS from 4.x because arc4random has been broken in
-current for over 3 months since 25-Jun-00

Special thanks to: markm for the breakage
2000-10-06 22:49:54 +00:00
Alfred Perlstein 6cde93ecea MFC: fix for predictable TCP sequence numbers, requires MFC of arc4random. 2000-10-06 20:45:14 +00:00
Jeroen Ruigrok van der Werven 9ebad99211 MFC: security fixes and string function cleanups 2000-10-05 16:24:59 +00:00
Warner Losh 4ccdde3798 MFC: kill command fix and sprintf/snprintf paranoia 2000-10-04 23:43:28 +00:00
Peter Wemm a87a44ba3a MFC: printf-style format fix. warn(string) -> warn("%s", string) 2000-10-04 05:44:33 +00:00
Jeroen Ruigrok van der Werven 35f3e2dfdd MFC: Update to the latest IANA list and document divert is homebrewn. 2000-09-24 11:50:51 +00:00
cvs2svn f08b783e66 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 2000-09-11 19:34:05 +00:00
Alfred Perlstein 840d86138c MFC: FreeBSD-SA-00:23 2000-06-26 20:49:22 +00:00
Peter Wemm eae76078cf Fix a typo (c->name should be c->c_name)
Submitted by: Michiel Boland <[email protected]>
2000-06-05 19:57:30 +00:00
Kris Kennaway c44947ad3f Unbreak world by reverting the previous commit (strlcpy() does not exist
in 2.2.x).

Repeatedly ignored by:	joe
2000-06-04 23:46:44 +00:00
Peter Wemm ae7534cca6 MFC rev 1.54: Fix page fault in -vv mode. 2000-06-02 01:38:13 +00:00
Josef Karthauser 0672520191 MFC: Fix a potential buffer overflow with the generation of the
pid-file name. {from revision 1.32}
2000-05-07 18:24:08 +00:00
Josef Karthauser dc03d8f8bf MFC: Fix a potential buffer overflow in the command line argument parsing
with 'ed [MAXPATHLEN + 1 chars]'. {from revision 1.15}
2000-05-07 18:06:55 +00:00
Alexey Zelkin 806cc60b36 MFC: rev 1.18, remove BUGS section 2000-05-04 16:56:37 +00:00
Peter Wemm 8407332648 MFC: remove flawed semconfig(2) 2000-05-01 11:29:47 +00:00
Peter Wemm 2036e763d7 Argh, teach it more about $FreeBSD$ 2000-05-01 11:29:16 +00:00
Peter Wemm c78ed325d4 Teach makesyscalls.sh about $FreeBSD$ 2000-05-01 11:25:40 +00:00
Peter Wemm d13f9a5432 MFC: remove semconfig(2) 2000-05-01 11:22:17 +00:00
Peter Wemm b7986c931e MFC: remove semconfig() calls 2000-05-01 10:53:55 +00:00
Josef Karthauser 7381a956ed MFC: Fix a potential buffer overflow (r1.24).
PR:	bin/15101
2000-04-30 20:22:13 +00:00
Matt Jacob 8e6ccf3a12 MFC: Backport Qlogic Ultra3 support as well as the current
state of Qlogic fibre channel.
2000-03-04 06:04:54 +00:00
Joerg Wunsch fd7dc39fb4 MFC: SIGHUP and SIGCHLD ought to be restartable as they used to be. 2000-02-29 08:04:53 +00:00
Joerg Wunsch d25a02172f MFC: rev 1.58, fix a deadly race condition between the signal handlers
for SIGHUP and SIGCHLD.

(Since our field installation was at RELENG_2_2 anyway, i had to fix it
there, so i'm going to commit that fix, too.)
2000-02-28 17:58:33 +00:00
Alfred Perlstein 9e247a83f7 MFC: 1.8 2000-02-18 23:47:02 +00:00
Peter Wemm 00a34ab8b9 MFC rev 1.57; route table reference count fixes. (I'd like to merge
1.59 as well to both 2.2.x and 3.x but that might expose more problems)
2000-02-08 02:40:14 +00:00
Peter Wemm 25ac8675e6 MFC rev 1.13; handle more than 2^15 routes to the same interface. 2000-02-08 02:19:47 +00:00
Peter Wemm bbeb756aeb MFC rev 1.30; increase size of rt_refcnt from short to long. 2000-02-08 02:17:43 +00:00
Matthew Dillon 00a6b0f08d MFC kern/kern_descrip.c 1.78, kern/kern_exec.c 1.107, and
sys/filedesc.h 1.19.  Backport fix for procfs security hole in 2.2.x.

Tested by: Michael Oswell <[email protected]>, Jeremy Chadwick <[email protected]>
2000-01-25 18:09:10 +00:00
Kris Kennaway 761fdf9f3b MFC^2: Create tempfiles securely 2000-01-17 06:48:25 +00:00
Peter Wemm 166f366418 MFC: don't break filenames with spaces into seperate arguments. 2000-01-06 14:30:24 +00:00
Peter Wemm 62f9214d97 MFC: quote filename variables in vi recovery 2000-01-05 09:18:20 +00:00
Peter Wemm d72f98d992 MFC: fix typo "," -> ";"
PR:		15696
Submitted by:	Takashi Okumura <[email protected]>
1999-12-27 16:07:26 +00:00
Matthew Dillon 8df44cb431 MFC nfs_bio.c 1.81, nfs_subs.c 1.86, nfs_vnops.c 1.148 1999-12-12 07:28:51 +00:00
Matthew Dillon 464a87bdd9 MFC nfs_nqlease 1.47, nfs_serv.c 1.89, nfs_subs.c 1.87. Note that
no changes to nfs_serv.c were required, the bugs in that routine were
    introduced after 2.2.x.
1999-12-12 07:25:11 +00:00
Peter Wemm b07d9d4548 Don't deref a null curproc after a panic.
PR:		15169
Submitted by:	David Gilbert <[email protected]>
1999-11-30 09:05:00 +00:00
Yoshihiro Takahashi 7d48e41fe0 MFC: Fixed to support IBM-PC HDD. 1999-11-25 13:41:37 +00:00
Matt Jacob c3fb297310 Fixes 14836- thanks to [email protected]. 1999-11-12 05:56:25 +00:00
John Polstra a20af5fbad MFC 1.18 -> 1.19: add __printflike and __scanflike macros. This
was requested by a user.  It makes it easier to backport programs
from more recent versions of FreeBSD.
1999-10-31 12:54:06 +00:00
Matt Jacob fa60672ca9 MFC: turn back always doing tags for FC 1999-10-28 02:51:34 +00:00
Matt Jacob 284e6f5cba MFC: nuke a debug printout I thought I had already nuked 1999-10-26 22:27:41 +00:00
Matt Jacob 8822eef73e MFC: remember to initialize mailbox 2 for FC isp bus resets 1999-10-22 17:04:38 +00:00
Matt Jacob 8dcfce61cc MFC:Roll platform major && minor (major now tracks FreeBSD major release).
Add in null SWIZZLE definitions. Add in CFGPRINTF define. Remove inline
functions as they're now in isp_inline.h and include that file.

Change default debug level to be based on SCSIDEBUG (3)
DIAGNOSTIC/DEBUG (2) or to be zero.
1999-10-17 19:25:49 +00:00
Matt Jacob 56df10e36f (not a MFC since this is a different scsi midlayer than 3.X and later)
Restructure a la NetBSD/OpenBSD version how enabling of sync/wide/tags
is done. Put in (untested) 12X0 changes. Restructure a la NetBSD/OpenBSD
version how RQLATER returns from inner module are handled.
1999-10-17 19:23:22 +00:00
Matt Jacob 0f0cbbd7d3 MFC:Roll core version number. Do some stylistic changes. Ensure that
the result queue length is never less than 64. Move (ick) temp port
database used for post-LIP merging off the kernel stack and put it
into the softc. Remove some target mode stuff which will come back
later in a different file. Change how the list of outstanding commands
are stored (now allocated at mailbox setup time to be just enough for
the max for a specific HBA which can vary). Keep a rotating seed of
the last index for this in the softc. Increase the count of active
commands from 10 to 16 bits.
1999-10-17 19:19:09 +00:00
Matt Jacob f9a14e2166 MFC:add in an INT_PENDING macro 1999-10-17 19:18:49 +00:00
Matt Jacob a7ef0a9f23 MFC:Remove target mode definitions (they'll come back later in
a different file).
1999-10-17 19:18:27 +00:00
Matt Jacob 26ced58bac (Yes, this *was* tested sufficiently to allow what looks like a simultaneous
commit to -current 3.X and 2.X)...
MFC:Remove some target mode stuff. It will get re-introduced in a different
file later. Do some pencil-sharpening types of minor changes. Change
how active commands are remembered (using new inline functions to get
handles, etc..). Now do a GET FIRMWARE STATUS after firing up the f/w as
outgoing mailbox 2 will tell you the f/w's notion of the max commands
that can be supported. Attempt to retrieve loop topology. Add in the
appropriate SWIZZLE/UNSWIZZLE macros calls (this is a no-op on Little
Endian machines but is needed for sparc (on other platforms)). Move
the temp port database we use to find out where things have moved to
after a LIP to the softc and off the kernel stack. Follow Qlogic's
hint and don't bother setting a tag for commands that don't have
this enabled (presumably the f/w will do it's own selection then).
Use an INT_PENDING macro to check for an interrupt. The call to
ISP_DMAFREE now just takes the handle- not the 'handle-1' which was
a layering violation. Use CFGPRINTF in a couple of places to make
things less chatty if not booting verbose, or CAMDEBUG compiles, etc..
1999-10-17 19:16:33 +00:00
Matt Jacob 0212916882 MFC:roll 10[24]0 and 1080/12X0 f/w 1999-10-17 19:13:32 +00:00
Matt Jacob 902187d5d6 MFC:duplication in all the platform specific header files. 1999-10-17 19:12:29 +00:00
Matt Jacob 54d6b384c9 MFC:Removed code versions in md struct- not used any more.
Allocate transfer dma maps and xflist stuff in mbxdmasetup based
upon isp->isp_maxcmds. Allow for multiple calls to mbxdmasetup (for
isp_reset cases).
1999-10-17 19:07:48 +00:00
cvs2svn 1c263ab83f This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1999-10-17 18:15:06 +00:00
Peter Wemm 4b2890ac71 MFC: backport -current's zlib 1.1.3 (current release) 1999-10-10 07:53:09 +00:00
Peter Wemm bd5b679e04 $Id$ -> $FreeBSD$ 1999-09-05 11:54:50 +00:00
Peter Wemm 6d1c51813e $Id$ -> $FreeBSD$ 1999-09-05 08:39:22 +00:00
Dima Ruban cdbcad505c MFC: rev. 1.11 (fts buffer overflow) 1999-09-04 21:07:52 +00:00
Sheldon Hearn 4bd306fe24 MFC rev 1.6 - 1.7: close potential buffer overflow. 1999-09-02 18:26:47 +00:00
Dima Ruban 15c2c12c53 Don't follow symlinks on coredumps and ktrace.
Reviewed and suggested by:	bde
1999-08-29 17:53:19 +00:00
David E. O'Brien d2302d51c3 Rev 1.1.1.1.8.2 was build tested by mharo. 1999-08-25 19:55:03 +00:00
David E. O'Brien c1b29b29e0 MFC: contrib/amd/libamu/xutil.c rev 1.2:
Make sure expanding errno into a textual representation doen't overflow
1999-08-25 19:49:44 +00:00
Nick Hibma 6008ba8baf Recognise the GPS receiver from Trimble
in NMEA mode (without date).

        Trimble OEM Ace-II receiver. Low cost PCB with single
        voltage input, external active antenna and two serial
        ports with either NMEA and ITAPs output. Programmable
        to be tuned for 'time' accuracy in fixed station config.

Author of tool notified.

Submitted by:   Dirk van Gulik <[email protected]>
1999-08-23 14:50:28 +00:00
Tim Vanderhoek adf637827f MFC: tempfile race fix
With particular thanks to: peter  (Hey!  hoek's excuse == it's 2am here!)
1999-08-22 05:57:53 +00:00
Luigi Rizzo fdba437468 MFC: add spl protection when restarting the timer. 1999-08-11 14:42:40 +00:00
Dima Ruban 4412068073 Oops. Forgot that we don't need to call VOP_GETATTR() 1999-08-04 19:22:45 +00:00
Dima Ruban a646528ca9 MFC: rev 1.190 and rev 1.181 1999-08-04 19:03:30 +00:00
Dima Ruban b388da42ae MFC: rev 1.126 - 1.128 1999-08-04 18:58:56 +00:00
Warner Losh d8e9368fe1 MFC: 1.17: Add -S to nroff and troff 1999-08-02 05:05:49 +00:00
Warner Losh f704e3a1fe MFC: 1.16 and 1.17: install tmac.safer and msafer.7 1999-08-02 05:01:03 +00:00
Warner Losh dfc69a3361 MFC: 1.5 -S for man pages 1999-07-30 05:49:30 +00:00
Yoshihiro Takahashi 40167f8acd Fix ROLL UP/DOWN keys.
Submitted by:	WATANABE Takuya <[email protected]>
Reviewed by:	Nobuyuki Koganemaru <[email protected]>
1999-07-16 13:32:21 +00:00
Nate Williams ba226e3c6b - Remove un-necessary CLI statement from apm_int, which casues
suspend/resume to fail on at least some IBM Thinkpads.

[ FWIW, the cli call is also missing from -current ]

Submitted by:	"Kenton A. Hoover" <[email protected]>
1999-07-10 18:36:59 +00:00
Matt Jacob c7cf1bcab7 MFC: add in (controlled by option) 2200 Expanded Lun F/W 1999-07-06 05:40:44 +00:00
Matt Jacob 331596ba4e MFC: fix broken 2200 cases 1999-07-05 22:05:35 +00:00
Matt Jacob 8d0912bcd0 MFC: add 2200 f/w; fix botched define 1999-07-05 20:43:14 +00:00
Matt Jacob 70221f24fc MFC: dd ISP_DISABLE_2200_SUPPORT defines; Add reference to 2200 F/W 1999-07-05 20:28:16 +00:00
Matt Jacob 71d55e95cd MFC: add another ISP option 1999-07-05 20:20:57 +00:00
Matt Jacob 33efd89af6 MFC: Support for ISP SCSI and Fibre Channel Cards 1999-07-03 00:47:51 +00:00
Matt Jacob 69c6d0fecd MFC: Support for ISP SCSI and Fibre Channel Cards 1999-07-03 00:00:22 +00:00
Matt Jacob 19051800ca MFC: Support for ISP SCSI and Fibre Channel Cards 1999-07-02 23:52:51 +00:00
cvs2svn 34d8e9910d This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1999-07-02 23:18:04 +00:00
Peter Wemm bc05664742 MFC: rev 1.31 - fix manual patch transcription typo (aargh!)
rev 1.30 - free nfs_node_hash_lock and free np if restarting
1999-06-20 00:56:30 +00:00
Ruslan Ermilov 932fd28f36 Merge ``-E security fix'' from non-crypto version. 1999-06-17 09:47:15 +00:00
Matt Jacob 24cad4113f It's not clear to me why this fix worked for the submitter- a prevent/allow
with the ALLOW setting should not have needed a longer timeout, but the
longer timeout doesn't hurt. This is now fixed for 2.X and is essentially
also fixed in 3.X and later versions.

PR:		1467
Submitted by:	Andrew Herdman [email protected]
1999-06-14 19:00:47 +00:00
Ruslan Ermilov 2fa0b6edf0 MFC:
It was possible to circumvent telnet's security ``-E'' (no escape at all)
option by running it with ``-8 -E'' and passing it 0xff character.

PR:		6317
Reviewed by:	des, David Borman <[email protected]> (the author)
1999-06-14 18:58:23 +00:00
Peter Wemm ebfce86efc MFC: Don't loose a mbuf pointer leading to dupe frees or use after free. 1999-06-07 00:23:40 +00:00
Peter Wemm 491987afd7 MFC: Don't do a negative nfs_madj() in the server when a client scans a
large directory leading to a large reply.
1999-06-07 00:22:23 +00:00
Peter Wemm ef4a2bdcdd MFC: Avoid allocation race leading to duplicate entries 1999-06-07 00:20:56 +00:00
Peter Wemm 9b554c8ab5 MFC: Avoid integer wraparound for bytes-used count right on >2G files 1999-06-07 00:18:37 +00:00
Peter Wemm 425107bb6f MFC: Don't mistake a non-async write that needs to be committed for an
interrupted write.
1999-06-07 00:13:32 +00:00
Peter Wemm 6a98faa791 MFC: stop mbuf leak when writing to a tcp session in certain race
conditions.
1999-06-05 01:25:12 +00:00
John Polstra e0f5eb520e Fix an uninitialized variable bug that sometimes caused a bus error
when relocating shared objects with impure text.  This bug is not
present in RELENG_3 or 4-current.
1999-06-05 00:08:45 +00:00
Luigi Rizzo adf358432b MFC: close pr 10889 1999-05-24 10:17:24 +00:00
Luigi Rizzo b8fda9a6a5 MFC squared. free the dummynet descriptor in ip_dummynet, not
elsewhere.
1999-05-04 18:24:54 +00:00
Luigi Rizzo 2059ecdbf3 MFC squared... 1999-05-04 07:59:10 +00:00
Peter Wemm 86e7f0fe93 Update the BOUNCE_BUFFERS description for 2.2, it is only for SCSI isa
bus-master devices.

PR:		5779
Submitted by:	Takashi Saeki <[email protected]>
1999-04-23 06:24:08 +00:00
Satoshi Asami 9214497285 Merge /var/db/pkg creation here too before I forget. 1999-04-02 00:21:17 +00:00
Satoshi Asami f3e191c895 MFC 1.21 and 1.25 (/var/db/pkg/.mkversion). 1999-03-31 23:59:19 +00:00
Luigi Rizzo aa15830425 MFC: 1.86->1.87, "arp: host is not local" problem with dummynet 1999-03-18 18:34:20 +00:00
Bill Fumerola a752e2f85a MFC: Russian RIPN, man references, gov/mil updates 1999-03-17 03:24:37 +00:00
Luigi Rizzo b8f7222473 MFC: fix "arp- host is not on local net" problem with dummynet, plus
cleanup interaction between bridge and ipfw: now bridged pkts are
passed to the ipfw code with same field in host order, same as it is
done with the ordinary path through ip_input.
1999-03-16 18:10:45 +00:00
Julian Elischer 04ce354cfb MFC: 1.200 Remove inapropriate use of VOP_ISLOCKED()
Reviewed by: Kirk Mckusick <[email protected]>
Submitted by:	Matt Dillon <[email protected]>
1999-03-12 02:48:49 +00:00
Warner Losh 189b77aec0 MFC: Fix link count problems
ufs_vnops 1.109, 1.110, 1.111
	(also implicitly ext2_vnops.c 1.44)
1999-03-10 17:08:27 +00:00
Andreas Klemm 47ac18af71 Fix from author of the driver:
The i++ loop from 1..1000 is too small on very fast machines like
PII 450 MHz. Increasing the loop from 1..100000 lets the machine
access PHY. After this patch it's possible to use a SMC PCI card
on a HP Kayak XA series PC Workstation. Workaround until this fix
was to enable debugging in the driver (#define EPIC_DEBUG 1).

Without that patch you get an undefined state:
while true
do
ifconfig -a | grep status:
done
The status messages flaps between two values, but not
"connected".
1999-03-09 17:41:59 +00:00
Bill Paul 694412e8be Add missing ETHER_NEXT_MULTI() in tl_setmulti(). This was causing all
three of the perfect filter entries to have the same address assigned,
as well as one bit in the hash table. This bug isn't present in 3.x;
the multicast code is different.

Pointed out by: Mark Taylor <[email protected]>
1999-03-09 01:58:17 +00:00
Archie Cobbs de1c11da4a MFC: When an incoming packet is reflected back as an ICMP reply, make sure we
zero "m->m_pkthdr.rcvif", otherwise ipfw may wrongly match the outgoing packet.
1999-03-06 23:12:32 +00:00
Brian Somers d935618c80 MFC: Bring up auto links despite there being no data queued if
we're already in network phase and our autoload values
     are set with no minimum threshold (the default).

     Tell the autoload timer that it's ``coming up'' *before*
     calling AutoLoadTimeout() directly... not after.  This
     prevents the very first demand-dial connection from
     immediately disconnecting when there are other auto links.

     Problem diagnosis:  Ted Mittelstaedt <[email protected]>
1999-03-01 00:47:15 +00:00
Joseph Koshy e9a235fba6 MFC: {rev 1.2} Decapitalize function name 1999-02-26 03:07:46 +00:00
Brian Somers 3b729c9d62 MFC: Parse IP addresses more securely - specifically, don't allow
a bum name to return as 0.0.0.0... we don't want ``delete xxx''
     to delete the default route when xxx doesn't resolve.

     Support IP number specifications as the host when specifying
     a tcp-style device (rather than *just* hostnames).
1999-02-25 20:08:11 +00:00
Kazutaka YOKOTA e7aa7f8586 MFC: Fix <back quote>/<logical not>/<vertical bar> key.
PR: i386/10130
1999-02-20 02:24:26 +00:00
Luigi Rizzo b178dd66fc prevent panic when a pkt greater than MTU with DF set comes out
of a pipe. Discovered using the "treno" tool from PSC.

Reported-by: [email protected] (Hirohisa TANIGUCHI)
1999-02-19 18:21:25 +00:00
Joseph Koshy 24617aa3bb MFC: {rev 1.3} document use of backslash. 1999-02-18 05:00:40 +00:00
Dag-Erling Smørgrav a95328427b MFC: Better fix for the traceroute flood bug. 1999-02-16 14:30:49 +00:00
Dag-Erling Smørgrav 887f8d76cf MFC: avoid negative timeout in select(). 1999-02-15 08:24:08 +00:00
Bill Paul 142a9bd848 MFC: don't issue TX and RX reset commands so that we don't
unnecessarily retrigger an autoneg session.
1999-02-12 15:57:28 +00:00
Julian Elischer c860e83556 Hmm let's not be so daring.. just use bzero() though it seems overkill for
8 bytes;
1999-02-08 06:03:32 +00:00
Julian Elischer b84a2a54db PR: 9309
Reviewed by:	Archie Cobbs with changes from me.
Submitted by:	Ruslan Ermilov [email protected], kseel <[email protected]>
1999-02-08 05:34:09 +00:00
Greg Lehey 836d75f518 Change to reflect that this version is an LKM and doesn't contain
the debug facilities of the kld version.
1999-02-04 05:23:41 +00:00
Greg Lehey 16496587f5 Include vinum in build. 1999-02-03 23:16:57 +00:00
Greg Lehey 60a93beb60 Remove BROKEN_GDB hack, thus enabling vinum to compile correctly
without VINUM_DEBUG.  If anybody has problems, they'll have to either
solve them under 3.0 or 4.0, or guess where vinum has hidden its
configuration.
1999-02-03 05:35:04 +00:00
Greg Lehey 77c3c5b77b Correct Makefile to build correctly.
Complained-about-by: Chris Knight <[email protected]>
1999-02-03 05:32:57 +00:00
Bill Fumerola 4663960a88 MFC^2: 'devicename' consistancy. 1999-01-31 03:43:20 +00:00
Bill Paul f339123abd MFC squared: mention that Racore cards are supported 1999-01-29 16:39:36 +00:00
Robert Nordier 1d58d210be MFC: Clear d_boot0 and d_boot1 in virgin label.
Requested by: Tetsuya Kimura <[email protected]>
PR          : 8625
1999-01-28 21:50:46 +00:00
Bill Fumerola 3fae3ddbd7 Backport remote package fetching logic. I left hooks in for future
'releases', even though that isn't likely. (I heard a rumor about a -FINAL
release or something)
1999-01-28 21:30:04 +00:00
Mike Smith 5dc30f9e15 MFC: (a == b) conditional was (a = b) 1999-01-28 06:14:22 +00:00
Greg Lehey f8793ba3c0 Get rid of tbl stuff, replace with .Bl
Take BUGS section from vinum.8
1999-01-27 03:14:28 +00:00
Greg Lehey e8a5537056 Fix broken command tables
Move the BUGS section to vinum.4: the only bug in vinum.8 was the man
page, fixed with this commit.
1999-01-27 03:09:45 +00:00
Bill Paul a757876fae MFC squared: account for TI vendor ID when choosing a station address EEPROM
offset.
1999-01-26 15:22:26 +00:00
Satoshi Asami 20c60bd806 MFC: move bsd.port.*mk to ${PORTSDIR}/Mk. 1999-01-26 08:14:05 +00:00
Brian Somers e64aaafc6f MFC: Don't SEGV when ``set proctitle'' is used in the default
section.
1999-01-25 10:21:47 +00:00
Greg Lehey 150dc8e8bb Initial vinum checkin into -STABLE 1999-01-25 04:56:43 +00:00
Greg Lehey 555b8b8eb3 Initial checkin of vinum into -STABLE 1999-01-25 04:32:42 +00:00
Greg Lehey 8eb6b3704e Initial vinum checkin into -STABLE 1999-01-25 04:18:11 +00:00
Greg Lehey f0d76304a7 Initial Vinum checkin in -STABLE. 1999-01-25 04:17:26 +00:00
Mike Smith 9d0121891c Oops, merge the rest of the glibc support.
Submitted by:	Allan Saddi <[email protected]>
1999-01-24 01:09:16 +00:00
Mike Smith 3586fe5f9f Backport the support for glibc2 binaries; emulation would be fairly useless
without this in the years to come.
1999-01-21 19:47:33 +00:00
cvs2svn 40b5fc28b3 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1999-01-21 00:55:29 +00:00
Satoshi Asami 97a3c4d612 Merge 1.302. 1999-01-20 01:55:40 +00:00
Brian Somers 2c3bc3560b MFC: Change the maximum number of filters from 20 to 40. 1999-01-19 22:22:13 +00:00
Brian Somers ccde2b9510 MFC: Suggest that ``set proctitle'' is used in ppp.linkup when
USER is expected to be expanded.
1999-01-19 22:21:20 +00:00
Brian Somers 593fd472a3 MFC: Send the peer-decided PSTN address with the CBCP Ack,
otherwise windows clients will keep resending the
     response :-/
1999-01-19 22:18:58 +00:00
Daniel O'Callaghan 9860fdd6dc Allow two digit years 1969-2068 1999-01-18 22:15:09 +00:00
Guido van Rooij 41c6cd6e8c MFC: When resuming with 2 identical cards in 2 slots, the initialisation
of the second card fails. This fixes that.
1999-01-17 15:31:03 +00:00
Daniel O'Callaghan 882e2bb4b7 y2k nit: print dates > 1999 correctly.
PR:		9506
Submitted by:	Peter Jeremey <[email protected]>
1999-01-16 01:58:48 +00:00
Daniel O'Callaghan 5ce6c26277 Tidy logic in previous sccs2rcs commit.
"19$year" -> $year+=1900 in log.pl
PR:		9501
Submitted by:	Peter Jeremy <[email protected]>
1999-01-15 12:01:57 +00:00
Daniel O'Callaghan b7d84b6de4 MFC yy/mm/dd -> yyyy/mm/dd
PR:	9505
Submitted by:	Peter Jeremy <[email protected]>
1999-01-15 10:29:14 +00:00
Daniel O'Callaghan b33a618d06 MFC y2k bug (printf("19%s %s", $3, $4)) 1999-01-15 05:18:56 +00:00
Jordan K. Hubbard 44b6e8697b MFC: allow spaces in syslog.conf
PR:	8762
1999-01-14 09:35:08 +00:00
Daniel O'Callaghan e27909505a Example "19%y" changed to "%Y" to discourage poor usage. 1999-01-13 07:01:07 +00:00
Daniel O'Callaghan 7cc1209ada Don't bother with dates < 1970 in one section when not supported by another.
Submitted by:	Arjan de Vet <[email protected]>
1999-01-13 06:27:34 +00:00
Mike Smith 5100484210 MFC: /mnt -> ${MNT}
PR:		misc/7965
Submitted by:	Junji SAKAI [email protected]
1999-01-12 22:13:06 +00:00
Dag-Erling Smørgrav 872f4ea9a9 MFC (rev. 1.143): add directory for Russian FAQ.
Hopefully, make release will work again now.

Spotted by:	<[email protected]>
1999-01-12 21:58:09 +00:00
Brian Somers 609c2f91e1 MFC: Sort out client side callback actions. 1999-01-12 21:51:43 +00:00
Daniel O'Callaghan 6ebde500b2 Fix leap year calculations
Reviewed by:	<[email protected]>, <[email protected]>
1999-01-12 20:30:55 +00:00
Daniel O'Callaghan 6c8a4c3e8e Fix leap year comments. 1999-01-12 19:55:32 +00:00
Daniel O'Callaghan 4d117dad95 Allow --newer and friends to handle dates beyond 1999/12/31. 1999-01-12 18:47:37 +00:00
Brian Somers c12939c161 MFC: Correct some formatting errors (one is a groff bug) 1999-01-11 15:06:17 +00:00
Satoshi Asami 1bd324eb8f Merge 1.301. 1999-01-11 13:04:59 +00:00
Luigi Rizzo 32d9e59f6f MFC: critical dummynet fix -- add a missing bzero. 1999-01-11 11:27:20 +00:00
Luigi Rizzo 814a6469a6 MFC as in 1.102->1.103 (several people reported this problem and are using
bridging with -STABLE).
1999-01-10 17:36:58 +00:00
Daniel O'Callaghan ad727e3dba "login failures" -> "login failure"
PR:		9424
Submitted by:	Lars K*ller
1999-01-10 11:21:04 +00:00
Daniel O'Callaghan c181851c61 Fix typos: if_name -> ifr_name
Submitted by:	Casper <[email protected]>
1999-01-10 04:56:33 +00:00
Brian Somers d12696edce MFC: Only call isatty() when we open our descriptor, and remember
the answer.

     If we later get a descriptor exception from select(), we know
     that it's a tty (isatty() returns 0 after the exception on a
     tty) and remember to call modem_LogicalClose().

     The upshot of it all is that descriptor exceptions dont leave
     the tty locked any more.
1999-01-10 02:26:09 +00:00
Brian Somers 2ba483db11 MFC: If we can't open alias.log, don't try to write to the
resulting NULL FILE *.
1999-01-10 02:06:46 +00:00
Kazutaka YOKOTA c8abbf142f Correct spelling and grammer.
PR: kern/9387
Submitted by: Sheldon Hearn <[email protected]>
1999-01-09 03:46:36 +00:00
Brian Somers 94cdb2d611 MFC: Don't use the next phone number after the ``|'' if the
dial & login are successful.
     Submitted by:   Toshiomi Moriki <[email protected]>
     PR:             9382
1999-01-08 09:08:35 +00:00
Brian Somers c92ede01c9 MFC: Typo: The idle timer is ignored in -ddial and -dedicated
mode, not in -ddial and -direct.
1999-01-06 00:09:20 +00:00
Brian Somers 74876b53fa MFC: Don't warn when ``add xxxx HISADDR'' fails because HISADDR
is 0.0.0.0.  This isn't a problem as the sticky route is still
     added.
1999-01-06 00:09:10 +00:00
Dag-Erling Smørgrav 4a6cb189fc oldlenp is a size_t*, not an int*.
Pointed out by:	Andrzej Tobola <[email protected]>
1999-01-05 23:57:15 +00:00
Daniel O'Callaghan 977b860c40 Fix out-by-one error in last commit, and change manual to say that
dates are supported to 2038 in 21st century, not 2069.
1999-01-05 10:09:57 +00:00
Daniel O'Callaghan ab4009df81 PR: 9323
Submitted by:	[email protected]
MFC: Make touch support 2000-2038 not 1902-1938 in obsoleted format.
1999-01-05 10:01:42 +00:00
Satoshi Asami 3711378730 Merge part of 1.28 (default MACHINE_ARCH). This is required for making
alpha ports compatible with 2.2-i386 without .if defined() spaghetti.

Discussed with:	simokawa
1999-01-05 06:49:17 +00:00
Dag-Erling Smørgrav a70f9d194e MFC: if sysctl() fails with ENOMEM, retry with a larger buffer.
PR:		8275
Reminded by:	Andrzej Tobola <[email protected]>
1999-01-05 00:12:58 +00:00
Bill Fumerola 6249dd0aa4 1. MFC: const-related compiler warning.
2. Fix mispell in variable definition.
3. Replace undefined constant with the number zero.

PR:		bin/7979 (2 and 3)
Submitted by:	Doug <[email protected]> (2 and 3)
		jdp (1)
1999-01-02 20:24:58 +00:00
Bill Fumerola 4cac0f0532 MFC: Correct random password length. (bin/7817) 1999-01-02 04:41:36 +00:00
Bill Fumerola 6bc52fa656 MFC: Run uucp cleanup as the uucp user (bin/7749) 1999-01-01 21:12:03 +00:00
Bill Fumerola 1cfc12766e MFC: Use FQDN instead of hostname in reports (bin/9091) 1999-01-01 17:44:15 +00:00
Luigi Rizzo 31a31bf8e8 MFC - PR bin/8937 1998-12-31 13:53:37 +00:00
Tim Vanderhoek 1eae5ec96f MFC: Unlimited defaults (prompted-by: conf/8744 ) 1998-12-29 22:18:25 +00:00
Bill Paul 9a001a2140 MFC: fix bug in tl_start() 1998-12-29 15:41:10 +00:00
Bill Fumerola 5ca9aef7b6 MFC: revisions 1.3 through 1.6 -> RELENG_2_2 1998-12-29 03:06:13 +00:00
Bill Fumerola 7ab3709c2d MFC: -N option to supress reverse lookup. 1998-12-26 18:49:58 +00:00
Bill Paul 17fa67d01a MFC: fix bug in xl_start() 1998-12-24 17:52:08 +00:00
Mike Smith da497cc913 Merge the 450NX support from -current. Note that this doesn't include
any explicit fix for systems that misprogram the highest subordinate bus
number; the side effects here are relatively harmless.

PR:		kern/8928
Submitted by:	Kevin Van Maren <[email protected]>
1998-12-19 03:01:05 +00:00
Satoshi Asami 1c3824e401 Merge 1.44. 1998-12-18 08:07:14 +00:00
Jordan K. Hubbard 74121e0e0e Urk. Look for sysctl in correct location. 1998-12-17 16:49:09 +00:00
Eivind Eklund 81dfaf8ffd MFC: Restore correct semantics. 1998-12-17 16:36:25 +00:00
Eivind Eklund 2a7db4ac68 inline -> __inline to support cross-compilation from 3.0. 1998-12-17 13:44:01 +00:00
Brian Somers c203d84857 MFC: Don't return stack-based data. This may have caused
server-side CHAP authentication problems in the past :-/
1998-12-17 00:29:15 +00:00
Matthew Dillon 17b0ef561f unblock signals before execing 1998-12-16 00:00:12 +00:00
Brian Somers 7293af0149 MFC: Fix a potentially bad latency problem
Problem reported by: Christopher Hall <[email protected]>
1998-12-15 19:17:19 +00:00
Matthew Dillon ef07168ee7 Made mistake porting -current fix to -stable, called
printf() instead of snprintf().  Fixed!
1998-12-15 19:15:53 +00:00
Matthew Dillon 2f5f136425 Bring signal/malloc/free fix from -current into -stable. 1998-12-15 05:07:08 +00:00
Luigi Rizzo c0a919504b MFC: fix some problems with the sbpro mixer, add partial
support for ESS.
1998-12-14 17:18:05 +00:00
Matthew Dillon 467bb84f02 Add patch to use UT_ defines to specify size of utmp fields rather
then hardwire them.

PR:		bin/8662
1998-12-14 06:04:44 +00:00
Brian Somers f865d9fc4d MFC:
Mention `iface clear' in README.changes
  Handle link descriptor exceptions
  Deal with the first `set proctitle' arg
  Kill any running dial timer before destroying a link
1998-12-14 01:26:43 +00:00
Eivind Eklund 4f4704e3a3 MFC: Close buffer overflow. 1998-12-13 21:06:49 +00:00
Matthew Dillon 30b304de2d PR: bin/8680
Merge recent buffer size and security fix into -stable
1998-12-13 16:28:58 +00:00
Matthew Dillon 1483c762bf PR: bin/8680
merge buffer size / security fixes to -stable
1998-12-13 16:26:18 +00:00
Satoshi Asami a7abbf42ec Merge bsd.port.mk rev. 1.300 and bsd.port.subdir.mk rev. 1.27. 1998-12-12 07:40:50 +00:00
Kenjiro Cho 3975fb945c MFC: round tickadj up to prevent tickadj from being 0 when HZ > 500. 1998-12-11 04:30:18 +00:00
Bill Paul 5524820a0a MFC: silence gcc -Wall -ansi -pedantic 1998-12-10 19:04:08 +00:00
Bill Paul 150183c958 MFC: silence compiler warnings, fix minor bug in xl_txeof() 1998-12-10 16:20:42 +00:00
KATO Takenori bd28bc9220 Sync with sys/i386/i386/machdep.c revision 1.209.2.25.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-12-10 08:24:42 +00:00
Steve Price 27662f368d MFC: add missing int to mvaddstr and mvaddnstr prototypes. 1998-12-10 02:36:32 +00:00
Steve Price 279aa7f8e8 MFC: reword F00F workaround message. 1998-12-10 01:50:45 +00:00
Eivind Eklund cec6a452d7 MFC: Better error checks. 1998-12-09 20:54:30 +00:00
Archie Cobbs d9010283d9 MFC: Fix a new bug introduced by the previous bug fix 1998-12-08 21:43:16 +00:00
Archie Cobbs 07c728a63c MFC: bin/8471: don't allow ipfw tee 1998-12-07 05:59:57 +00:00
Archie Cobbs e2b3db674c MFC: rev 1.11 (PR bin/7939) 1998-12-07 05:39:03 +00:00
Jordan K. Hubbard c6d6c5a896 MFC: PR#8983 1998-12-06 10:16:08 +00:00
Jordan K. Hubbard ddf8865a2c It appears that the wdc driver implements CDIOREADTOCENTRYS but not the
related CDIOREADTOCENTRY that is needed by iso_get_ssector().  This should
still be OK - iso_get_sector() traps the error and simply assumes a
single-session CD in this case - but unfortunately the error test is
wrong (because it is calling the driver's ioctl entry point directly, the
return value is zero or an errno value).

Submitted by:		Andrew Gordon <[email protected]>
1998-12-05 23:24:37 +00:00
Satoshi Asami 4bf56757b0 MFC: uncompressed package support. 1998-12-05 06:30:14 +00:00
Bill Paul 3256b62820 MFC: add sanity test to detect empty transmit queue 1998-12-05 02:26:23 +00:00
Archie Cobbs 256faa1c89 MFC: typo bug fix, rev 1.4 -> 1.5 1998-12-04 21:35:03 +00:00
Bill Fumerola dd5cdfd704 MFC: 1.137 : Typo / Formatting
PR:		docs/8504
1998-12-04 19:47:50 +00:00
Joseph Koshy 7a3441d7a9 MFC: {rev 1.8} typo fix. 1998-12-04 00:53:03 +00:00
Bill Fumerola 1a5880554a MFC : 1.11 : spelling / [quiet.]belltype consistencies.
PR:		docs/8506
1998-12-03 22:25:31 +00:00
Bill Fumerola 62ae8d3501 MFC: 1.12 : Clarify -r 1998-12-03 20:53:32 +00:00
Joseph Koshy a0b6dbb573 MFC: {rev 1.5, rev 1.6} add references to man(7), mdoc(7), mdoc.samples(7). 1998-12-03 02:37:37 +00:00
Bill Fumerola f64c9cbb8c MFC: rev 1.6 : Reference Typo 1998-12-02 23:31:17 +00:00
Bill Fumerola 1208f7f4f7 MFC: Rev 1.22 : Typo. 1998-12-02 23:22:27 +00:00
Bill Fumerola f7d01a88fd MFC: "Re" is "Reference end."
PR:		docs/8727
Reviewed by:	jdp
1998-12-01 20:00:31 +00:00
Nate Williams 305a6be5b5 MFC: Fix modulo bug. 1998-12-01 05:29:42 +00:00
Bill Fumerola 8b2c5b1c7e MFC - login.cap -> login.conf
PR:		docs/8897
1998-11-30 22:44:06 +00:00
Nate Williams b2dec09e64 MFC: Fix modulo bug. 1998-11-30 20:26:12 +00:00
Jordan K. Hubbard d02569bb3d Fix the message which is output before upgrading. 1998-11-30 13:31:08 +00:00
Jordan K. Hubbard 87d30e5f12 Adjust for XFree86 version (whoops!). 1998-11-30 12:38:30 +00:00
KATO Takenori 5754a5a4c6 Sync with sys/i386/isa/syscons.c revision 1.182.2.40.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-11-30 00:28:10 +00:00
David Greenman c7d857e2e7 Disabled page coloring since it is broken in 2.2.x and can lead to hangs
in the pagedaemon. It was fixed in 3.x, but there isn't time to retrofit
the changes. This commit has the same effect as defining "PQ_NOOPT".
1998-11-29 23:33:15 +00:00
Jordan K. Hubbard 7b09b65ace We're post-release now. 1998-11-29 23:29:16 +00:00
Warner Losh a9a8bdada4 Fix mmap security hole from NetBSD. Change the prototype of mmap
system call so all insecure drivers no longer compile (at the request
of bde).

Reviewed by: bde
1998-11-29 22:52:17 +00:00
Jordan K. Hubbard d1277fd2fb Prune an aged phrase. 1998-11-29 12:25:59 +00:00
Jordan K. Hubbard 4b01ed899e Update for new XFree86 naming format. 1998-11-29 12:04:15 +00:00
Jordan K. Hubbard 825295d3ff Bump FreeBSD_cc_version.
Requested by:	jdp
1998-11-29 12:01:45 +00:00
Jordan K. Hubbard d6e48baadd Set for 2.2.8 1998-11-29 12:00:34 +00:00
Jordan K. Hubbard b85a717b09 Update for 2.2.8 1998-11-29 11:54:29 +00:00
Jordan K. Hubbard c757658c4b MFC: redirect sysctl output properly to /dev/null
Requested by:	jkoshy
1998-11-28 22:04:20 +00:00
Luigi Rizzo c86ca09964 A bunch of old patches i forgot to apply -- make BRIDGE compile and
work even if DUMMYNET is not used.
1998-11-28 14:06:25 +00:00
Bruce Evans d41c382fe6 MFC (1.75: don't start too many timeouts for DTR wait). 1998-11-28 13:27:01 +00:00
Mike Smith 607a40c6e1 MFC: Adaptec NICs are really Cogent NICs. 1998-11-28 00:26:10 +00:00
Mike Smith 348c6806a4 Reduce NFS_SMALLFH to 52 to counteract the increased size of other data in
the nfsnode.  This can be overridden in the kernel configuration if there
prove to be problems with the reduced size, at the cost of bloating
the nfsnode (annoying but harmless).

Reviewed by:	Doug Rabson ([email protected])
1998-11-27 23:22:02 +00:00
Jordan K. Hubbard 735e358f25 MFC: update for XFree86 3.3.3 1998-11-27 00:31:00 +00:00
Jordan K. Hubbard 722b091822 MFC: inexplicably missed patch. 1998-11-26 20:32:37 +00:00
Jordan K. Hubbard 2ae061b264 Note merge of ppp. 1998-11-26 12:46:28 +00:00
Jordan K. Hubbard ecb788c754 MFC: Update ppp sample files. 1998-11-26 12:43:27 +00:00
Jordan K. Hubbard 4f05f4b368 Now that ppp is merged, update the config file we write. 1998-11-26 12:42:06 +00:00
Jordan K. Hubbard 7266542fff MFC: megacommit to bring 2.2 ppp up to full merge status with 3.0. This
has been tested at several sites and proven to be substantially
less buggy than the 2.2 version.  New files have already been tagged
in, though they do not appear in this commit.

OK'd by:	brian
1998-11-26 07:14:47 +00:00
Jordan K. Hubbard 94a8b07f4b Add man.7, which was just tagged in. 1998-11-26 05:15:27 +00:00
Joseph Koshy 714b12d725 Increase format widths to handle large block and file limits. Add a space
between fields so that the numbers do not run into each other.

PR:		8730
Submitted by:	Andre Albsmeier <[email protected]>
Reviewed by:	jkoshy
1998-11-26 03:30:27 +00:00
Nate Williams 4e55c42d72 MFC: Fix the bind security fix introduced in rev 1.38 to work with multicast.
[ This bug allows Multicast in the JDK to work ]
1998-11-25 22:19:21 +00:00
Mike Smith 11ebf0ebd3 Mention the NFS ACCESS accelerator and the 'acd' driver. 1998-11-25 22:09:47 +00:00
Mike Smith 505e2a1f4f Stamp out some time_second usages that snuck through. 1998-11-25 22:09:40 +00:00
Mike Smith 2e7425f9ed Merge NFS ACCESS accelerator code from current (left this one out last
time).
1998-11-25 21:56:25 +00:00
Mike Smith 55db1dc680 Document the nfs_access_cache rc.conf variable. 1998-11-25 21:52:03 +00:00
Mike Smith 94e0026439 Add hooks for configuring the NFS ACCESS cache, defaulting it to disabled. 1998-11-25 21:51:34 +00:00
Mike Smith c04e0449c9 Bring the NFS ACCESS acclerator back from -current. Note that on this
branch it defaults to OFF, requiring an explicit poke to turn it on.
1998-11-25 21:48:48 +00:00
Stephen McKay 6a377a72c4 MFC rev 1.14: atq ignored locale.
PR: 8300
1998-11-25 14:09:15 +00:00
Stephen McKay a79a426c12 MFC rev 1.28: AU dates are like GB dates not US dates.
PR: 8302
1998-11-25 14:06:16 +00:00
KATO Takenori 6b4b8d523e MFC: revision 1.59 (reorder ed drivers' entries).
Submitted by:	Nobuyuki Koganemaru <[email protected]>
1998-11-25 11:05:48 +00:00
David Greenman 44d2687258 Brought in fix from rev 1.91: splvm protect unqueue call. 1998-11-25 07:45:00 +00:00
Joseph Koshy 0f9267b135 Bump timeout when formatting disks to 8 hours.
PR: 		7803
Submitted by:	Andre Albsmeier <[email protected]>
1998-11-25 04:45:49 +00:00
Satoshi Asami ac885d85b8 Merge 1.299. 1998-11-25 00:13:01 +00:00
Jordan K. Hubbard 664da614e7 Whups, forgot to remove this in last commit. 1998-11-24 00:25:26 +00:00
Jordan K. Hubbard c0e98101f9 Nuke version.h 1998-11-24 00:20:46 +00:00
Jordan K. Hubbard a5effdfb90 MFC: kill version.h 1998-11-24 00:19:59 +00:00
Jordan K. Hubbard 37c150fd6a MFC: hosts before bind. This bugs 2.2.x users just as much as 3.x users. :) 1998-11-23 10:24:02 +00:00
Joseph Koshy 15487b11d3 MFC: {rev 1.11} The 2.2 version of popen is uses 'vfork' and 'execl'.
Since 'execl' calls 'malloc' we then have the interesting
     possibility of a malloc arena corruption.  The rev 1.11 change
     fixes this.

Approved by:	jkh
1998-11-23 05:53:12 +00:00
Jordan K. Hubbard a3bfc1d7de MFC: deal with trailing /. 1998-11-22 14:08:36 +00:00
Thomas Gellekum e0a9f6cda9 MFC: Close a window between unlocking a spinlock and changing the
thread state. Interrupt threads waiting in select, sleep, and for an fd.
1998-11-20 07:31:37 +00:00
Satoshi Asami f8db4c38db Merge 1.298. 1998-11-20 04:01:39 +00:00
Joseph Koshy 2b2995aa3d MFC: {rev 1.82} copy M_MCAST bit into fragmented packets.
Approved by:	wollman
1998-11-20 03:09:02 +00:00
Julian Elischer 0b78b79dbd Make directories for the Hungarian local to go into. 1998-11-20 00:05:19 +00:00
John Polstra f5d55cde2f MFC 1.7 -> 1.8: Fix typos. 1998-11-19 18:09:40 +00:00
Thomas Gellekum 74401b0a18 Move some syscalls for which we don't install _thread_sys_{syscall}
wrappers from ASMR to ASM.

This avoids link errors when using "cc -pthread".
1998-11-19 08:13:00 +00:00
Bill Paul 052087bbd6 MFC: add missing 'else' to xl_attach() 1998-11-18 16:47:50 +00:00
KATO Takenori 9908d68908 MFC: fix ROLL UP/DOWN keys of PC-98 (rev. 1.42). 1998-11-18 08:36:02 +00:00
Julian Elischer e28b94ad12 MFC: Add Hungarian 1998-11-17 23:01:09 +00:00
Julian Elischer bb38255937 MFC: do the right thing for Hungarians 1998-11-17 22:42:12 +00:00
Julian Elischer b8d1588084 MFC: Activate hungarian keymaps 1998-11-17 22:34:27 +00:00
Julian Elischer 1ec02af32d MFC: Activate Hungarian time/date format. 1998-11-17 22:32:01 +00:00
Julian Elischer ed799fb9fa MFC: Bring in the Hungrian time definitions from -current 1998-11-17 22:29:20 +00:00
Julian Elischer bcb980853d MFC: bring in hungarian keymap support from -current 1998-11-17 22:27:05 +00:00
Dmitrij Tejblum ac52ad18f4 Fixed some incorrectly merged code in msdosfs_mount.
Submitted by:	Toshihiko ARAI <[email protected]>
PR:	kern/8366
1998-11-17 21:38:01 +00:00
Dmitrij Tejblum 5d0e5de05f MFC rev. 1.76: rename in root directory. 1998-11-16 21:09:09 +00:00
Archie Cobbs 18cc57a212 Document the IPFW_DIVERT_RESTART option 1998-11-15 21:42:20 +00:00
Jordan K. Hubbard a2856250b8 MFC: better fixups, cleanup, xf86config looping. 1998-11-15 09:07:38 +00:00
Luigi Rizzo 6adce6a706 MFC -- add a missing newline
Submitted by:	 Roger Hardiman
1998-11-14 13:09:09 +00:00
Satoshi Asami 30c7ea557b Merge 1.297. 1998-11-14 09:46:12 +00:00
KATO Takenori 237586e228 Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.182.2.39
and 1.23.2.10, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-11-14 02:58:19 +00:00
Kazutaka YOKOTA 1acbc8f4f0 YAMFC:
Bell related fix.
1998-11-13 14:02:25 +00:00
Kazutaka YOKOTA 6b68fee2d0 YAMFC:
- Bell pitch fix (syscons.c 1.268, syscons.h 1.38)
- Saver related fix (1.269, 1.271)
1998-11-13 14:00:15 +00:00
Thomas Gellekum 9015d93231 MFC: Don't call pthread_mutex_lock with _SPINLOCK held.
Make pthread_cond_wait() more similar to pthread_cond_timedwait().
1998-11-13 08:08:24 +00:00
John Polstra 739fddc16f Oops. Tag this file again for RELENG_2_2, this time on the correct
branch.  Then sync it with -current, which was the original
committer's intention.
1998-11-13 01:47:43 +00:00
John Polstra faafc989c1 Re-add these files to RELENG_2_2 after deleting the original tag.
The tag had been applied improperly.
1998-11-13 01:42:08 +00:00
Satoshi Asami 5d8884fe94 Merge 1.20 -> 1.21 so bsd.port.{pre,post}.mk are installed correctly.
Reminded by:	Scott Mace <[email protected]>
1998-11-11 21:41:55 +00:00
David Greenman bb92371a61 Brought in fix from rev 1.105: pullup entire header for fragments. 1998-11-11 21:20:08 +00:00
David Greenman 47ded40df8 Brought in fix from rev 1.113: fixed wire_count race. 1998-11-11 15:09:42 +00:00
Satoshi Asami 2fbc693638 Merge 1.296 of bsd.port.mk and add in bsd.port.{pre,post}.mk. 1998-11-11 05:23:21 +00:00
cvs2svn ceaf6a6cc9 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-11-11 05:21:30 +00:00
Semen Ustimenko 4b6923dd80 This file is forgotten to be removed from RELENG_2_2
a week before.
1998-11-10 14:37:08 +00:00
Luigi Rizzo 2e5fb98f4c Add entry for AOpen AW37 1998-11-10 10:44:56 +00:00
Joseph Koshy b1928f6998 MFC: Confirm to POSIX and close any copies of inherited popen()ed descriptors
in the child process.
     {rev 1.7 "src/lib/libc/gen/popen.3"}
     {rev 1.12 "src/lib/libc/gen/popen.c"}

Reviewed by: jkoshy, msmith
1998-11-10 07:12:20 +00:00
Luigi Rizzo b72bbe4d06 MFC: add "acd0" entry in LINT 1998-11-09 16:16:37 +00:00
Luigi Rizzo 4758cd989c Remove a redundant addition of the starting offset. 1998-11-09 16:09:05 +00:00
KATO Takenori bf42c8f823 Sync with sys/i386/conf/files.i386 revision 1.141.2.24.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-11-09 14:24:22 +00:00
Thomas Gellekum ca13eadaac MFC: The pthread_rwlock* man pages need .St -susv2.
Reminded by:	alex
1998-11-09 07:51:05 +00:00
Luigi Rizzo f83a5b9096 Remove some duplicate definitions. My fault, i forgot i already
patched this file earlier...
Reported by:  Michael V. Harding
1998-11-08 18:20:59 +00:00
Luigi Rizzo 4d32de5656 MFC: port the "acd" driver to -stable. I ported the driver to 2.2.6
last month, the -stable diffs are thanks to Richard Kiss. Any mistake
in the commit is mine. Wormcontrol has also been modified.
1998-11-08 14:08:47 +00:00
Satoshi Asami c8bac2db0e Merge bsd.port.mk 1.295 and bsd.port.subdir.mk 1.26. 1998-11-08 10:30:55 +00:00
KATO Takenori 3cdf1aa229 Sync with sys/i386/isa/syscons.c revision 1.182.2.38.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-11-07 00:12:20 +00:00
Luigi Rizzo d459ff286d Add a reference to dummynet and bridging. 1998-11-06 18:03:45 +00:00
Jordan K. Hubbard ac121b7b55 diverge these files from -current as appropriate. 1998-11-05 17:50:29 +00:00
Jordan K. Hubbard b0a850db70 MFC: changes to adapt to new doc file layout. 1998-11-05 17:47:43 +00:00
Jordan K. Hubbard 7f47e36df8 MFC: move doc files out into ../texts 1998-11-05 17:31:21 +00:00
Jordan K. Hubbard c5774f48e9 Note pthreads merge by tg. 1998-11-04 15:06:41 +00:00
Luigi Rizzo dc022c8de0 MFC - remove some error messages from sb interrupt driver 1998-11-04 09:14:32 +00:00
Robert Nordier ab6068dd6c MFC: Handle a zero elements argument. 1998-11-04 09:01:24 +00:00
Thomas Gellekum 326f569361 As theatened two weeks ago: merge the major changes from -current's pthread
implementation. This includes file locking based on FILE *, signal fixes,
read/write-locks, better POSIX compliance and better performance. Not included
are changes relating to realtime scheduling.

Famous last words: I've now built the world several times with these changes,
so they shouldn't break anything.
1998-11-04 08:42:12 +00:00
Mike Smith 8ef0da6ef5 MFC: typo fix 1998-11-04 08:34:10 +00:00
John Polstra 1278581268 Add predefined preprocessor symbol "__FreeBSD_cc_version". 1998-11-04 05:49:12 +00:00
Joseph Koshy f714fb9b18 MFC: {rev 1.5} Fix memory leak in scandir().
Requested by:  Archie Cobbs <[email protected]>
Reviewed by:   jkoshy
1998-11-04 05:09:47 +00:00
Joseph Koshy f1fc4adaa1 MFC: Generate correct code in multithreading mode.
{rev 1.10 rpc_main.c}, {rev 1.5 rpc_clntout.c}

Requested by:     Alexander Leidinger <[email protected]>
Review & test by: jkoshy
1998-11-04 04:33:56 +00:00
cvs2svn e197f9a238 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-11-04 00:06:42 +00:00
Martin Cracauer 6e7e1df966 MFC: Start etc/rc.d stuff in a way that it is still interruptable
even if the called programs blocks signals.
1998-11-03 16:35:46 +00:00
Martin Cracauer 9d2f016145 Merge remaining -current fixes into -stable.
Obtained from: Most fixes in this diff are by Tor Egge
1998-11-03 15:57:37 +00:00
David E. O'Brien b0948dea75 MFC revs 1.91 & 1.92.
adds verbosity to find the "hanging" problem after adding the default route.
1998-11-03 05:52:47 +00:00
Kazutaka YOKOTA 464f66d9b8 YAMFC: Don't update the screen while the cursor shape is being changed
by the user-land program. (rev 1.286)
PR: i386/8344
1998-11-03 02:39:06 +00:00
Kazutaka YOKOTA bfed121489 YAMFC: control code ^_ (0x1f) should be called us' rather than ns'. 1998-11-02 13:41:03 +00:00
Kazutaka YOKOTA c5da40f420 YAMFC:
- Bell pitch fix (kbdcontrol.c 1.15)
- 'saver' key (kbdcontrol.c 1.16, lex.l 1.17)
- ns -> us (kbdcontrol.c 1.17, lex.l 1.18)
- Man page update (kbdcontrol.1 1.9, 1.10)
1998-11-02 13:20:16 +00:00
Kazutaka YOKOTA 891fd05729 YAMFC: fix some definitions (jp.106.kbd 1.6, jp.106x.kbd 1.5) 1998-11-02 13:19:02 +00:00
Kazutaka YOKOTA 14c53a5b4e YAMFC:
- Mouse ioctl bug fix (1.264)
- Cut buffer allocation bug fix (1.270)
- Cut&paste fix (1.274, 1.275)
1998-11-02 13:10:17 +00:00
Kazutaka YOKOTA 9f43374201 YAMFC:
- Typo fix (1.54)
- Workaround for yet another incompatible keyboard controller (1.55)
1998-11-02 13:09:04 +00:00
Bill Paul d528fb60b6 MFC: enlarge descriptor rings and fix rx init routine. 1998-10-31 17:25:39 +00:00
Dag-Erling Smørgrav c73160ece3 MFC: Document that we support i82595-based Ethernet adapters. 1998-10-30 20:52:24 +00:00
Luigi Rizzo d8664b419a MFC: add ioctl names for "acd" driver
Reviewed by: Soren
1998-10-30 16:52:13 +00:00
Luigi Rizzo bd608a5de0 MFC -- fix a typo and remove verbose error messages when
in promisc mode.
1998-10-30 11:56:08 +00:00
Luigi Rizzo af50dd6eac MFC -- use KB instead of Kb for KiloBytes 1998-10-30 11:38:49 +00:00
Joseph Koshy c31da8c267 MFC: {rev 1.2} workaround a gcc bug causing false warnings about
integral constants being too large.

PR: 	7066, 7757
Requested by:	Carl Mascott <[email protected]>
Reviewed by:	[email protected]
1998-10-30 09:38:08 +00:00
Joseph Koshy 820b6975f7 MFC: {rev 1.10} Fix formatting bug. 1998-10-30 09:14:48 +00:00
Joseph Koshy 58209b94a0 MFC: {rev 1.17} `kern.maxproc' is not changeable using sysctl(1).
Change examples that show `kern.maxproc' being written.
1998-10-30 08:50:16 +00:00
Joseph Koshy 493c6343a1 MFC: {rev 1.6} Mention default time between output flushes in manual page. 1998-10-30 08:43:12 +00:00
Satoshi Asami 28d01e5982 Merge bsd.port.mk rev. 1.294 and bsd.port.subdir.mk rev. 1.25. 1998-10-30 08:29:07 +00:00
Joseph Koshy 3828b2eed2 MFC: {rev 1.100} Do not allow a mounted on directory to be rmdir'ed.
Requested by:	Andre Albsmeier <[email protected]>
Tested by:	<jkoshy@freebsd>,  <[email protected]>
1998-10-30 03:47:37 +00:00
Mike Smith 6d76047ba3 MFC: buffer overflow prevention in getpwent()
PR:		bin/8176
Submitted by:	Archie Cobbs <[email protected]>
1998-10-29 23:17:27 +00:00
Nate Williams 3ee9a893fa - MFC: Fix misspelled word. 1998-10-29 22:55:00 +00:00
Jordan K. Hubbard 9785020ae0 MFC: unlink on extract 1998-10-28 22:45:02 +00:00
Jordan K. Hubbard 40c43b5c07 MFC: assorted fixes. 1998-10-28 12:00:33 +00:00
Jordan K. Hubbard 05d19b4cc9 MFC: tree changes. 1998-10-28 11:21:36 +00:00
Jordan K. Hubbard 2aa2c32c85 Bump minor number. 1998-10-28 11:20:31 +00:00
Jordan K. Hubbard e1018dcf32 MFC: tree code. 1998-10-28 11:20:12 +00:00
Jordan K. Hubbard 13e0ba80b7 MFC: Lots of bug/doc fixes from 3.0's release cycle. 1998-10-28 10:59:49 +00:00
KATO Takenori 513201cea3 Sync with sys/i386/isa/if_ed.c revision 1.107.2.10.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-10-28 10:50:45 +00:00
Brian Somers 42373eb6be Ignore comments & blank lines in /etc/group
That'll teach me to MFC (adding Id to /etc/group) without
checking !
PR:	8467
1998-10-28 00:03:49 +00:00
Luigi Rizzo 3851a58038 Fix two problems which can occur with poor cabling:
1) the routine to compute length for non-std packets (too short
   or too long) was off by 256 in almost all cases.
2) fixing the above triggered a bug in the bridging code causing
   ed_ring_copy to be called with a negative length -> panic.
It is unlikely that you see the problem unless you use promisc mode,
bridging and poor cabling.
1998-10-25 11:25:58 +00:00
Bill Paul 1bab48a951 MFC: close PR #8409 1998-10-22 16:47:25 +00:00
Bill Paul 443f53b476 MFC: close PR #8384 1998-10-22 15:53:48 +00:00
Luigi Rizzo b15a2e4c8f Update the -stable driver to what is in -current. Mostly
bugfixes, improved SB16 support, apm hooks. No ESS support
yet, some PnP device IDs still missing.
1998-10-22 13:35:22 +00:00
Jordan K. Hubbard f29df754a0 MFC: allscreens patch
Submitted by:	Sheldon Hearn <[email protected]>
PR:		4765
1998-10-22 08:36:32 +00:00
Jun-ichiro itojun Hagino 331aefc95c make sure to touch pcb structure, only inside splnet().
(I experienced kernel crash in heavy PF_ROUTE usage)

Reviewed by:	David Greenman <[email protected]>
Submitted by:	itojun
1998-10-20 03:50:54 +00:00
Bill Paul 9854929b1e MFC: change to less aggressive transmit queueing strategy. 1998-10-19 22:10:09 +00:00
Matthew Dillon 178ad06379 Reviewed by: Dyson, Luoqi
Obtained from:	current

    Bring in the patch from -current that fixes the VM corruption
    issue where file writes are lost (not commited to disk, then the
    page gets reused).
1998-10-19 16:53:52 +00:00
Luigi Rizzo c16c35d47d Make dummynet use m_pkthdr.len, not ip_len, for computing
bandwidths. This is necessary for correct operation at the bridging
level. Problem reported by Richard B. Ernst
1998-10-16 15:00:16 +00:00
Joseph Koshy e9562a37b3 MFC: {rev 1.11} Correct a grammatical nit and remove ambiguity about
the effect of the -p option.
1998-10-15 03:56:18 +00:00
Nate Williams bc8d2838cf - MFC: Comment that spaces are not valid field separators. 1998-10-14 22:02:58 +00:00
Jordan K. Hubbard 3993061744 MFC: revert lstat to stat 1998-10-14 18:52:55 +00:00
Luigi Rizzo cdbf2c8037 Add a reference to documentation
Submitted by:	Bruce Albrecht ([email protected])
1998-10-14 16:33:06 +00:00
Luigi Rizzo e08c1d198e Fix a potential panic when deleting ipfw rules and packets are
trapped into a pipe, and you allow multiple passees through the
firewall code with dummynet. It has never hit anyone on -stable because
net.inet.ip.fw.one_pass=1 by default.

Reported by  Philippe Regnauld (who else!) while beating the
3.0 version of dummynet.
1998-10-14 16:29:58 +00:00
Dag-Erling Smørgrav acca68dac9 MFC: The adjtime man page is in section 2, not 8.
PR:		docs/8310
Submitted by:	Amakawa Shuhei <[email protected].t.u-tokyo.ac.jp>
1998-10-13 22:58:13 +00:00
Luigi Rizzo b934da7194 Accept pipe numbers beginning with '9'
Reported by Vince Vielhaber
1998-10-12 17:29:15 +00:00
David Greenman 8b70e29841 Brought in change from rev 1.57: clear out tx desc memory in fxp_attach. 1998-10-11 06:30:11 +00:00
John Polstra 6ce92ceba2 MFC 1.12 -> 1.13: Fix out-of-bounds array references and add
argument checking.
1998-10-11 05:43:40 +00:00
David Greenman 4582422541 Brought in fix from rev 1.56: fixed mbuf leak in fxp_stop(). 1998-10-10 19:51:00 +00:00
Dag-Erling Smørgrav 42aa530273 Make the probe message consistent with the rest of the kernel.
PR:		i386/8245
Submitted-by:	John Saunders <[email protected]>
1998-10-10 10:27:30 +00:00
Dag-Erling Smørgrav e2b3897291 Bring inetd almost in sync with CURRENT (mostly nits, such as printf
format errors, missing printf arguments, 0 instead of NULL) in
preparation for bringing in Graham Wheeler's signal handling patches.
1998-10-09 11:50:52 +00:00
Dag-Erling Smørgrav 42da2f3c9b MFC: fread() returns 0 on eof or error, not EOF. This fixes the
following bug:

  "head -c <n>" never exit and loops forever (until it is killed),
  if the input stream has fewer bytes than specified (n).

PR:		bin/8225
Submitted-by:	FUJIMOTO Kensaku <[email protected]>
1998-10-09 10:40:03 +00:00
Jordan K. Hubbard cb6ac8c451 MFC: for /usr/doc since it's not branched. 1998-10-09 07:40:22 +00:00
Bill Paul a294e4e947 MFC: add support for 100baseFX/SC board 1998-10-09 04:00:16 +00:00
Satoshi Asami ef29da137c Merge 1.293. 1998-10-09 01:27:55 +00:00
Jordan K. Hubbard b70c3b5661 MFC: lstat fix. 1998-10-09 00:01:34 +00:00
Dag-Erling Smørgrav 14ed6d9915 MFC: put a DEB around the "device busy" message. 1998-10-08 21:01:22 +00:00
KATO Takenori 66802d9b7c Added entries for EtherEZ98 and Access/PC N98C+ cards.
Reviewed by:	kato
Submitted by:	[email protected] (Chiharu Shibata)
1998-10-08 17:29:33 +00:00
KATO Takenori 26d7a8865e Add Ungermann-Bass Access/PC N98C+ support to fe driver (PC-98).
Reviewed by:	kato
Submitted by:	[email protected] (Chiharu Shibata)
1998-10-08 17:28:19 +00:00
KATO Takenori 8e8cdfcf28 Add SMC EtherEZ98 support to ed driver (PC-98).
Reviewed by:	kato
Submitted by:	[email protected] (Chiharu Shibata)
1998-10-08 17:24:27 +00:00
Bill Paul 3ace35b219 MFC: fix updating of tx queue tail pointer in tl_start(). 1998-10-08 15:47:10 +00:00
KATO Takenori 77b8e4b712 Fix typo.
Submitted by:	[email protected] (Chiharu Shibata)
1998-10-07 09:27:08 +00:00
Satoshi Asami e1b7f7f792 Merge 1.292. 1998-10-06 21:13:04 +00:00
Luigi Rizzo 01e7047b54 Restore default behaviour for skipto rules, i.e. jump to the first rule
greater or equal to the jump target.
1998-10-06 09:55:01 +00:00
Joseph Koshy ebe293c758 Make shell prompt look like '#' instead of '$' just to clue people that
adduser(8) needs to be run as root.

Pointed-out-by:	Malartre <[email protected]> on the -doc list
1998-10-05 03:37:08 +00:00
Bill Paul ec18bf09da MFC: use PIO mode by default to pacify broken laptop docking stations. 1998-10-04 18:51:59 +00:00
David E. O'Brien 0a05e3cfd3 Add note that mkdosfs is depreciated in favor of newfs_msdos(8). 1998-10-04 11:21:45 +00:00
David E. O'Brien 674bbbc852 MFC: rev. 1.10. 1998-10-04 11:11:52 +00:00
David E. O'Brien 5c35a57c7b MFC: rev. 1.3
Install in /sbin rather than /usr/sbin.
Make symbolic link from /sbin to /usr/sbin for older scripts.
1998-10-04 10:46:20 +00:00
David E. O'Brien e5d4c2eb1d MFC: rev. 1.6. 1998-10-04 10:37:10 +00:00
David E. O'Brien d64dd199ed MFC: rev. 1.13 1998-10-04 07:45:06 +00:00
Mike Smith 9f29f308c0 MFS - fix promiscuous mode. 1998-10-04 02:12:02 +00:00
Bill Fenner e388ed94a0 Merge CFLAGS 1998-10-02 22:00:25 +00:00
Jordan K. Hubbard 91ddd60919 MFC: use proper CFLAGS in release. 1998-10-01 09:33:06 +00:00
Jordan K. Hubbard 01583b35b2 Note improvements to the linux emulation. 1998-10-01 07:53:38 +00:00
Joseph Koshy 58f7bb2a4a Remove -mdoc macros from the 2.2-STABLE version which still uses -man.
PR:		docs/6455
Submitted by:	Kazuo Horikawa <[email protected]>
1998-09-30 11:04:29 +00:00
Daniel O'Callaghan 6e21a97b54 Fix typo. 1998-09-30 01:37:15 +00:00
John Polstra 15fd4d1941 MFC 1.28 -> 1.29: Fix misspelling of "stash_flag". 1998-09-30 01:08:12 +00:00
Alexander Langer a80f1f913d MFC (rev 1.23): Added double quotes around CHMOD description to prevent
garbled output.
1998-09-29 22:05:21 +00:00
David E. O'Brien 88fe086f32 Add referece to newfs_msdos(8). 1998-09-29 17:49:36 +00:00
David E. O'Brien 9eae8468a1 MFC. 1998-09-29 17:44:20 +00:00
cvs2svn c33b93f46f This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-09-29 17:34:26 +00:00
Bruce Evans 3ddaf9c6a3 MFC (1.21: fixed initialization of new inodes). 1998-09-29 08:12:00 +00:00
Jordan K. Hubbard e3c3546d47 MFC: do fixups properly, use right #ifdefs in SCSI saving code. 1998-09-29 05:13:53 +00:00
Andrey A. Chernov 923e24fe6d MFC: fix handling more than one cards 1998-09-28 23:30:50 +00:00
Alexander Langer 6f95125baa MFC (rev 1.16): handle invalid keywords without seg faulting. 1998-09-28 23:07:44 +00:00
Luigi Rizzo 0e59ab7795 Record options BRIDGE and DUMMYNET in LINT, now
that we have manpages for them
1998-09-28 16:51:06 +00:00
Luigi Rizzo 83eb6a958c Add manpages for dummynet and bridging.
Cleaning of the nroff code is left as an exercise to some volunteer...
1998-09-28 16:42:58 +00:00
KATO Takenori d466dec4bd Sync with sys/i386/conf/GENERIC and sys/i386/i386/userconfig.c
revisions 1.77.2.28 and 1.63.2.29, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-09-28 08:29:53 +00:00
KATO Takenori 9d1c27fa80 Sync with sys/i386/conf/options.i386 and sys/i386/isa/syscons.c
revisions 1.26.2.19 and 1.182.2.36, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-09-28 08:28:40 +00:00
Bill Paul 24ff93794a Add the ThunderLAN NIC driver to the 2.2.x branch. Update GENRIC
and LINT, userconfig, sysinstall, relnotes and add man page.
1998-09-26 17:36:24 +00:00
Brian Somers ef0fa7ef77 MFC: Add an entry for the HAYES OPTIMA 28.8k 1998-09-25 22:09:45 +00:00
Bill Paul 4616158c52 MFX: patches for ifmedia_set() panic and watchdog timeout problem, and
increase size of TX ring.
1998-09-25 17:35:40 +00:00
Kazutaka YOKOTA ee8720bc81 Add description on SC_ALT_SEQACCESS. 1998-09-25 11:40:04 +00:00
Nate Williams 5dc7ad4baf - MFC: Fix suspend/resume slot power race. 1998-09-24 17:57:38 +00:00
cvs2svn 57cf1f3f54 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-09-24 17:14:24 +00:00
Kazutaka YOKOTA abf0db6ab5 YAMFC:
SC_BAD_FLICKER -> SC_ALT_SEQACCESS
Now supposedly less harmful way of accessing VGA sequencer registers
is default. An alternative, often troublesome, I/O access is optional.
1998-09-24 13:41:18 +00:00
Jordan K. Hubbard a45778e602 change to linux_time() was bogus, back it out. 1998-09-24 13:25:14 +00:00
Jordan K. Hubbard 2c0175a5ee MFC: adjust time. 1998-09-23 15:13:50 +00:00
Jordan K. Hubbard 53a87964af MFC: catch up with a bunch of functions that have been implemented in
the -current linuxulator but not merged for many months.

PR:			7792
Submitted-largely-by:	Avatar Liang <[email protected]>
1998-09-23 14:13:01 +00:00
Jordan K. Hubbard 53e4d743fb MFC: New -S flag. 1998-09-23 12:23:29 +00:00
Jordan K. Hubbard 84f77844ed Don't start routed by default; it messes with ppp folks, for one thing. 1998-09-23 11:37:06 +00:00
Satoshi Asami 31edf6a963 Merge 1.291. 1998-09-22 23:59:25 +00:00
Dag-Erling Smørgrav fab1a5e4f4 MFC: Avoid infinite loop if read() fails consistently.
PS:		misc/7926
Submitted by:	Sergey Potapov <sp@@alkor.ru>
1998-09-22 22:19:40 +00:00
Brian Somers 5827a04b24 MFC: Terminate our output string correctly if we've got
an ``a'' command that has an escaped newline on the
     last line of the last script that we're processing.
1998-09-22 18:40:43 +00:00
KATO Takenori 1993c0f22a Sync with sys/i386/i386/trap.c revision 1.83.2.10.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-09-22 16:13:16 +00:00
Ollivier Robert 58bf0bc835 POSIXLY-CORRECT --> POSIXLY_CORRECT 1998-09-22 09:58:17 +00:00
John Polstra e3105f28d0 MFC 1.89 -> 1.90: Do not consider VM_PROT_OVERRIDE_WRITE to be part
of the protection entry when handling a fault.  My recent procfs
merge for the "GDB touches executables" problem requires this fix
as well.
1998-09-22 05:00:48 +00:00
John Polstra d026663988 Merge in the fix for the "GDB touches executables" problem. The
following revisions are included in this merge:

  1.89      src/sys/i386/i386/trap.c
  1.24,1.25 src/sys/miscfs/procfs/procfs_mem.c
  1.32      src/sys/vm/vm_extern.h
  1.67      src/sys/vm/vm_fault.c
  1.73      src/sys/vm/vm_map.c
  1.25      src/sys/vm/vm_map.h
  1.8       src/sys/vm/vm_prot.h

PR:		kern/3475, kern/7858
1998-09-22 01:30:55 +00:00
Masafumi Max NAKANE bd0da25033 MFC: add \a's to boot.help on the installation floppy. 1998-09-21 09:06:02 +00:00
Luigi Rizzo efee84f064 Fix the ipfw/natd problem for which people has been shouting at me for the
last few days. It was a stupid uninitialized variable, and the bug was
generated when i cleaned up the code removing redundant(!) initializations
before the commit.

Thanks to [email protected] and Allan Saddi who provided traces to
help track down the problem.
1998-09-21 08:55:22 +00:00
Ollivier Robert 023b5e4e39 Fix bad option processing.
PR:		bin/7986
Submitted by:	Dan Nelson <[email protected]>
1998-09-21 07:47:53 +00:00
John Polstra 55db206c69 Increment RELDATE to 227002 so that it can be used to test for a
recent interface change introduced in "src/sys/sys/sem.h" revision
1.8.2.1.  Unfortunately, this comes 12 days after the change was
made.
1998-09-19 17:32:00 +00:00
KATO Takenori cbde04e794 Sync with sys/i386/isa/if_ed.c revision 1.107.2.9.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-09-19 13:37:16 +00:00
Luigi Rizzo fda888c25a remove a diagnostic message and fix statistics when using ipfw on
bridged packets
1998-09-18 20:53:08 +00:00
Luigi Rizzo 144e6cb652 fix an mbuf leak when using ipfw to filter bridged packets 1998-09-18 20:51:09 +00:00
Luigi Rizzo 18f405451d bring DUMMYNET and BRIDGE support into -stable
decouple BPF and PROMISC handling on some if drivers
make ipstat available through sysctl (already in -current)

NOTE: you have to recompile ipfw!
1998-09-17 18:02:33 +00:00
Jordan K. Hubbard d5a4bda80c MFC: distribution is doc. 1998-09-17 11:35:38 +00:00
Doug White b9390746fc MFC: Typo: hittab -> hitab 1998-09-17 09:52:44 +00:00
Dag-Erling Smørgrav 7bf1cde7f6 Remove two more references to unimplemented -W option.
PR:		7417
Pointed-out-by:	The Bruce Filter <[email protected]>
1998-09-17 08:10:44 +00:00
Luigi Rizzo cbed57e630 introduce a sysctl variable to disable slow-start on "local"
tcp connections. slow-start is used by default (as it should be)
This fixes a misbehaviour that was introduced when T/TCP was
integrated in the main sources.
1998-09-17 04:35:58 +00:00
Luigi Rizzo daf21401ed add definition for mbuf type used by dummynet 1998-09-17 04:01:20 +00:00
Satoshi Asami 518af89cab Merge 1.290. 1998-09-17 01:22:32 +00:00
Satoshi Asami ad8440a3e7 Merge 1.289. 1998-09-17 01:00:58 +00:00
Dag-Erling Smørgrav ba07657733 Don't document inexistant options.
PR:		7417
Pointed-out-by:	Martin Kammerhofer <[email protected]>
1998-09-17 00:23:14 +00:00
Dag-Erling Smørgrav f048abdfaf MFC: DTRT for file: URLs when output file is "-".
PR:		bin/7203
1998-09-17 00:15:51 +00:00
Brian Somers 73014b99e7 MFC: Spaces -> tabs, don't use touch before it's available
Pointed out by: bde
1998-09-16 22:43:36 +00:00
Guido van Rooij b472421d01 MFH: Fix RST validation (rev 1.81) 1998-09-16 17:35:17 +00:00
Satoshi Asami 6b0dc41ad0 Merge 1.288. 1998-09-16 12:05:36 +00:00
cvs2svn b39c8e68cd This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-09-15 17:22:21 +00:00
Martin Cracauer e6b9f6b0ca MFC: Mention sh signal fixes.
[The syntax fixes in -current are not in -stable yet]
1998-09-15 14:12:34 +00:00
Brian Somers 0558e68362 MFC: Remove Id keywords from files still on the vendor branch.
Suggested by: bde
1998-09-14 22:14:08 +00:00
Jordan K. Hubbard 969cd54f34 MFC: PR#4014 1998-09-14 19:23:16 +00:00
Jordan K. Hubbard 364199ea43 MFC: PR#7560 1998-09-14 19:14:23 +00:00
Joseph Koshy 27cf633bfa MFC: {rev 1.17} Fix typo. 1998-09-14 06:39:33 +00:00
Joseph Koshy d94036bc48 MFC: Use ellipsis in synopsis with an appropriate explanation in
the text of the manual page.
     {rev 1.12          src/lib/libc/sys/fcntl.2 }
     {rev 1.8           src/lib/libc/sys/open.2  }
     {rev 1.5, rev 1.6  src/lib/libc/sys/ioctl.2 }
1998-09-14 06:38:03 +00:00
Joseph Koshy 09351b5e16 MFC: Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc.
{rev 1.3 src/usr.bin/mail/misc/mail.rc}
     {rev 1.17 src/etc/root/dot.profile}
1998-09-14 05:43:36 +00:00
Joseph Koshy 7f57c6c5af MFC: {rev 1.14} The `group{del,mod,show}' commands require a '[group|gid]' argument. 1998-09-14 05:40:20 +00:00
Joseph Koshy de71659e76 MFC: {rev 1.16} Typo fix. 1998-09-14 05:10:02 +00:00
Joseph Koshy ab2452c26d MFC: {rev 1.11} Include reference to ispcvt(8) in pcvt(4). 1998-09-14 05:08:03 +00:00
Joseph Koshy e3f934bdf4 MFC: {rev 1.4} Remove identity crisis in ispcvt(8) man page. 1998-09-14 05:06:06 +00:00
Joseph Koshy 10414d3f47 MFC: {rev 1.16} Correct handling of ASCII DEL (0x7F). 1998-09-14 05:01:23 +00:00
Joseph Koshy c610c3146e MFC: {rev 1.4} Correct glyph displayed by PCVT in ISO Latin-1 mode. 1998-09-14 04:59:30 +00:00
Joseph Koshy b8a29e7e56 MFC: {rev 1.80} Add "pcm.4" to Makefile. 1998-09-14 04:57:16 +00:00
Joseph Koshy 32306783e2 MFC: {rev 1.12} Fix spurious `free()\' when -d g2 is enabled. 1998-09-14 04:52:57 +00:00
Brian Somers 366908a7da Add Id keyword 1998-09-13 23:11:13 +00:00
Bill Paul a78b3187f3 Add device list entry for xl PCI ethernet cards. 1998-09-13 16:47:48 +00:00
Mike Smith d1657b7a07 MFC - new Compex and 3Com devices 1998-09-12 18:55:46 +00:00
Alexander Langer 2206a02c87 MFC (rev 1.2 of bind8/doc/man/host.1): typo fix. 1998-09-12 16:51:31 +00:00
Mike Smith 0d71fb3ef7 MFC - add Fujuitsu MBH10303 1998-09-11 18:36:47 +00:00
Dag-Erling Smørgrav b5c40fd2fc MFC: Print correct total for -c option (previously, the total for the
last directory scanned was printed instead of the real total)

PR:             bin/7896
Submitted by:   Zach Heilig <[email protected]>
1998-09-11 15:54:50 +00:00
Dmitrij Tejblum 7118ad24e9 MFC rev. 1.18: don't remove parts of source tree.
PR:	7677
Pointed out by:	bde
1998-09-11 14:27:01 +00:00
Jordan K. Hubbard 02c56a699c MFC: cleanup() fixes. 1998-09-11 07:27:18 +00:00
Martin Cracauer 3ca0e05e20 MFC: Small trap handling and comments improvements. 1998-09-10 22:15:34 +00:00
Martin Cracauer 7418d20116 MFC: efficiency and includes fixup 1998-09-10 14:58:03 +00:00
Kazutaka YOKOTA 9b554f6764 MFC: correct fix for bin/7799. 1998-09-10 12:21:54 +00:00
Satoshi Asami 52f5a4bd25 Merge 1.287. 1998-09-10 06:38:37 +00:00
KATO Takenori 2f4c4e1d53 Sync with sys/i386/conf/majors.i386 revision 1.9.2.11.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-09-09 14:55:45 +00:00
Jordan K. Hubbard 8e9f7e7b47 The if_lnc driver does not probe correctly for all models of
AMD PCI network card.

PR:		7511
Submitted by:	Robert Swindells <[email protected]>
1998-09-09 13:15:35 +00:00
Martin Cracauer 14f9c053b1 MFC: Allow traps to run even if child blocks signals 1998-09-09 10:55:02 +00:00
Martin Cracauer 76f972a693 MFC: Remove X11 lock files even when cleaning /tmp is not set. 1998-09-09 10:37:41 +00:00
Martin Cracauer ad7b1b59fb MFC: add -S flag 1998-09-09 10:31:33 +00:00
Martin Cracauer 21f3bb8d06 MFC: Load linux emulator lkm only when not already loaded. This avoids
leftover files in /tmp. Script slightly modified from PR version
to use fewer processes.
PR:		i386/7725
Submitted by:	Stefan Eggers [email protected]
1998-09-09 10:28:07 +00:00
Daniel O'Callaghan 63279d751d Fix typo missed in previous commit. 1998-09-09 05:11:29 +00:00
Daniel O'Callaghan 92899a5cb3 Fix typos. 1998-09-09 05:09:55 +00:00
Justin T. Gibbs 05c3683463 MFC: Reserve character major 104 for the CAM Transport Layer Services driver. 1998-09-09 03:08:09 +00:00
Mike Smith 810226f6ac MFC, terminate defnames array correctly. 1998-09-09 02:23:07 +00:00
Bill Paul 01a51029d8 MFC: add check for wedged transmitted in xl_start(), cancel autoneg
session in xl_setmode_mii() if one is pending on entry, change autoneg
behavior during bootstrap.
1998-09-08 23:44:50 +00:00
Jordan K. Hubbard 9516e9caf7 MFC: go back to using MSDOSFS. 1998-09-08 11:44:51 +00:00
Jordan K. Hubbard 2cdfa6b684 MFC: 1.7 version of booteasy confirmed. 1998-09-08 10:46:53 +00:00
Jordan K. Hubbard 6ef7873304 MFC: various enhancements. 1998-09-08 10:42:41 +00:00
Luigi Rizzo 6778d179d4 our definition of SNDCTL_DSP_GETBLKSIZE does not match the one
used by OSS. This temporary hack lets the FreeBSD x11amp work
with the pcm driver.
1998-09-08 07:09:24 +00:00
Jordan K. Hubbard 9a18e29419 MFC: PR#7318 (properly fail on missing dep). 1998-09-08 03:03:12 +00:00
Steve Price 17fb059433 MFC: make the unix macro work 1998-09-07 22:09:55 +00:00
Steve Price f07b188c32 MFC: make semctl's fourth argument optional 1998-09-07 21:17:36 +00:00
Jordan K. Hubbard 9d05cfea54 Move yacc even earlier in build-tools; up to the point where expr, which
depends on it, can have it built first.
1998-09-07 19:05:21 +00:00
Martin Cracauer 1113155991 MFC: zsh shell script entry
PR:		bin/7657
Submitted by:	Dom Mitchell [email protected]
1998-09-07 16:31:47 +00:00
Bill Paul d82e66cc2b MFC: avoid trap 12 due to NULL pointer dereference in TX error handler. 1998-09-06 15:00:15 +00:00
David E. O'Brien 15f8cb78e3 MFC: rev 1.5 1998-09-06 09:57:14 +00:00
David E. O'Brien 2d0e43f746 MFC: rev 1.53 1998-09-05 20:43:28 +00:00
Jordan K. Hubbard 6326ba89eb MFC: call tulip_init() correctly.
Noted by:	luigi
1998-09-05 13:39:52 +00:00
KATO Takenori f00fa9dbef MFC: Increase 'maxusers' to 32. 1998-09-05 02:52:17 +00:00
Mike Smith 0446ce097d MFC: raise the default 'maxusers' to 32. 1998-09-04 19:56:26 +00:00
Jordan K. Hubbard 9e1a0ccf4e MFC: implement Linux keyboard ioctls for X server compat, implement iopl(). 1998-09-04 17:00:06 +00:00
Bill Paul a6199cf79f MFC: update mediacheck routine to handle bad xcvr value in EEPROM, add
support for 3c980-TX, update names of cyclone 10mbps cards.
1998-09-04 16:24:10 +00:00
Kazutaka YOKOTA 490307ac41 MFC: fix uninitialized variable.
PR: bin/7799
Submitted by: Sheldon Hearn ([email protected])
1998-09-04 10:16:43 +00:00
Mark Murray 310652ca83 MFC: fix constant so shell field is found. 1998-09-04 08:42:19 +00:00
Jordan K. Hubbard 6315c7a37d Hopefully unbreak the -stable release build by moving awk first. 1998-09-04 06:07:43 +00:00
David E. O'Brien dbd32d1162 revert to rev 1.4.2.1 1998-09-04 06:02:44 +00:00
Brian Somers 066035190b MFC: Add Id keyword 1998-09-03 22:14:39 +00:00
Brian Somers 8ed522514c Don't give up on the device list because of a tcp connection
failure or an invalid device string.
Submitted by: Derek Inksetter <[email protected]>
1998-09-03 22:14:08 +00:00
David E. O'Brien 7d09602097 Fix this so we use old YACC behavior of y.tab.h rather than newer
error_table.h as there is a error_table.h in lib/libcom_err which
error_table.y includes.
1998-09-03 10:10:05 +00:00
Matthew Dillon 5bb7c2eeb6 Reviewed by: J Wunsch <[email protected]>
-stable commit for st.c, kernel support for /bin/mt's 'comp' option.
     (same changes as made to -current).
1998-09-03 07:11:53 +00:00
David E. O'Brien eeb9aeef5f MFC: cut-n-paste fub 1998-09-02 10:10:34 +00:00
David E. O'Brien 629ae66a3d [As I was saying]
I believe this by bde from bsd.prog.mk still applies:

To get the fixes and simplifications, application Makefiles should put the raw
lex and yacc source names (foo.l and bar.y) in SRCS and not put the names of
any generated files in SRCS or CLEANFILES.

If you want to regress to generating foo.c from foo.y via y.tab.c for crufty
applications that want a y.tab.h file.  This want must be specified by putting
y.tab.h in SRCS (and defaulting to or putting -d in YFLAGS).  This only works
if there is only one yacc parser, of course.

Complications: if bar.y is in SRCS and -d is in YFLAGS, then bar.h will be
generated whether or not it is used, even if this clobbers a real source file.
1998-09-01 22:13:41 +00:00
David E. O'Brien 6939c93246 MFC rev 1.25.
This brings YACC processing into sync with 3.0-CURRENT.
To fix `make -jN' races, foo.h is now generated instead of y.tab.h.

I believe this by
bde from bsd.prog.mk still applies:
1998-09-01 22:09:46 +00:00
David E. O'Brien 7f5d12d1ce MFC: rev 1.24
Abuse bsd.obj.mk instead of bsd.dep.mk for defining the _SUBDIR target.
Abuse bsd.obj.mk for defining default cleandepend and depend targets.
1998-09-01 22:05:00 +00:00
David E. O'Brien d643021066 MFC: add -n 1998-09-01 21:58:15 +00:00
Bill Paul 4bddfe40d6 MFC: fix small printf() bogon 1998-09-01 21:33:01 +00:00
Jordan K. Hubbard ee4b7f68c4 Fix typo. 1998-09-01 07:00:20 +00:00
Jordan K. Hubbard 43da088909 MFC: better warning. 1998-09-01 06:59:46 +00:00
Jordan K. Hubbard 5fb5c2a80f MFC: Leave router_enable alone. 1998-08-31 17:48:39 +00:00
Bill Paul 4ac126499b MFC: correctly handle ENOBUFS condition 1998-08-31 15:27:49 +00:00
Jordan K. Hubbard bd4aef9a38 MFC: accept gateway=NO 1998-08-31 09:02:18 +00:00
Joseph Koshy 5e3429dfb2 MFC: {rev 1.21} Document behaviour of "-" and "--" on the command line. 1998-08-31 03:39:25 +00:00
Joseph Koshy 82bb776048 MFC: {rev 1.6} Document meanings of flags to the -r and -s options. 1998-08-31 03:36:11 +00:00
Joseph Koshy 678f774aef MFC: {rev 1.3} Fix discrepancy between sources and manual page for the c command. 1998-08-31 03:31:40 +00:00
Joseph Koshy abc2858359 MFC: {rev 1.38} Remove hardcoded constant in favour of login.conf value. 1998-08-31 03:27:28 +00:00
Bill Paul 66608e002f MFC: change autoneg timeout from 3 seconds to 5. 1998-08-30 22:25:41 +00:00
Satoshi Asami 5a1dcdc4a5 Fix up whitespace messed up by dima in previous commit. (*sigh*) 1998-08-30 21:23:11 +00:00
Steve Price 8b67daba5d MFC: garbeld -> garbled 1998-08-30 17:33:57 +00:00
Peter Hawkins f26e309ee7 PR: 7613
merge from current
1998-08-30 05:40:18 +00:00
Luoqi Chen f77ea83874 Back out my previous two commits. Shared vnode lock doesn't exist until
Lite/2 merge.
1998-08-29 17:50:13 +00:00
Luoqi Chen 93ee3304ba Add missing #include <sys/lock.h>, it's needed for my previous commit. 1998-08-29 17:39:39 +00:00
Luoqi Chen b4e18a03db MFC: Close a race window for getnewbuf() between shared lock holders of
the vnode.
1998-08-28 20:38:57 +00:00
Dima Ruban 36474eefc7 MFC: introduce PERL5 variable. 1998-08-28 18:43:20 +00:00
KATO Takenori 68212f3b5c - Sync with sys/i386/conf/GENERIC revision 1.77.2.26.
- Commented out wfd0.
- Deleted dpt driver.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-08-28 09:37:59 +00:00
Jordan K. Hubbard 33a677a8c9 MFC: chflags -R noschg /usr/lib 1998-08-28 01:03:58 +00:00
Mike Smith 9823df925f MFC: duplex autodetect for TP on media autodetect, back-to-back delay
sysctl
1998-08-27 22:42:32 +00:00
Martin Cracauer ad74695388 Forgot a fix in last MFC. 1998-08-27 16:34:18 +00:00
Martin Cracauer 603ea0550a MFC: Do not exit on SIGINT in non-interactive shells, fixes PR 1206.
PR:	1206
Obtained from:Basic SIGINT patch from Bruce Evans
1998-08-27 16:24:57 +00:00
Martin Cracauer 4974fd823a MFC: When exiting on SIGINT, exit with signal status 1998-08-27 16:01:49 +00:00
Jordan K. Hubbard 97d29168ff MFC: recurse properly 1998-08-27 15:00:26 +00:00
Jordan K. Hubbard 7dc97d1011 MFC: DTRT with cdroms. 1998-08-27 00:50:28 +00:00
Satoshi Asami 85d9f4f785 Oops, accidentally merged the changes before committing first. ;)
The previous commit was to merge 1.285 (will be committed now) from
the main branch.
1998-08-26 23:53:36 +00:00
Satoshi Asami 6a4aec5120 Merge 1.24. 1998-08-26 23:46:56 +00:00
Justin T. Gibbs 5f6341f848 MFC - Fix spl protection botch 1998-08-26 19:12:14 +00:00
Joseph Koshy 4c070f0817 Merge revision 1.48 back into -stable ('PRINTER'->'PRINTERDEVICE').
PR:	docs/7737	(see docs/3479 for the rev 1.48 fix to -current).
Submitted by: Martin Kammerhofer <[email protected]>
1998-08-25 10:53:43 +00:00
Jordan K. Hubbard 79a0b31aa9 Upgrade (belatedly) to 2.2.7-stable 1998-08-25 04:07:21 +00:00
Bill Paul 89a33c6105 Add XL driver and man page to the 2.2 branch.
Update sys/conf/files to include xl driver.
Update GENERIC and LINT.
Update sys/pci/if_vx_pci.c to not probe Etherlink XL cards anymore.
Update man4/man4.i386/Makefile to install new man page (correctly this
time!).

This version of the driver is current up to today. Both versions
should remain in sync, unless I screw up.
1998-08-24 18:17:52 +00:00
cvs2svn 05e46e3419 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-08-24 17:51:39 +00:00
Jordan K. Hubbard d458a21170 MFC: shut this thing up. 1998-08-24 05:32:06 +00:00
Steve Price 89234c73d1 MFC: describe an exceptional condition 1998-08-24 01:10:48 +00:00
Steve Price 3fe24763f8 MFC: -h host 1998-08-24 00:58:22 +00:00
Jordan K. Hubbard 5ae6e7737f Enable ALLLANG again; the BSD.usr.dist file has been updated in this
branch.

Requested by:	Jun Kuriyama <[email protected]>
1998-08-20 06:40:37 +00:00
Mike Smith b8e21c874b Merge from current; fix for kern/7144
PR:		kern/7144
Submitted by:	Greg Troxel <[email protected]>
1998-08-20 05:52:44 +00:00
Jordan K. Hubbard dbb69c11a7 MFC: freebsd dates. 1998-08-19 12:58:57 +00:00
KATO Takenori 6d80c0bdf5 Delete dpt driver. 1998-08-19 02:41:51 +00:00
Brian Somers 006e596836 MFC: Don't lose an allocated pointer if realloc() fails.
Free it instead.
     Pointed out by: Theo de Raadt
1998-08-17 06:43:23 +00:00
Bruce Evans 57b47a2918 MFC (1.55: fix restoring of cpl after a trap). 1998-08-16 23:05:57 +00:00
Dag-Erling Smørgrav 37eda2d2f8 Fix typo that prevented BT849 cards from being identified.
PR:		kern/7618
Submitted by:	Robert Yoder
1998-08-16 10:44:41 +00:00
David Greenman 6577ceeaa3 Fixed some busy page wakeup problems that resulted in vmopar hangs.
PR:	5731
1998-08-16 00:09:07 +00:00
Mark Murray 252a6a0632 MFC: bump version number for new perl. 1998-08-15 17:37:46 +00:00
Peter Hawkins e05e74656f PR: 7612
added mkdtemp(3) prototype
1998-08-14 11:37:09 +00:00
Peter Hawkins 53926ad1b3 Submitted by: Peter Hawkins
Merge from current (permit more than 4 gcos fields)
1998-08-14 03:38:01 +00:00
Mike Smith 5e0e7c1e33 MFC: fix BNC/AUI autodetection. 1998-08-13 20:31:56 +00:00
Brian Somers 97d7eef094 MFC: Careful when cleaning /var 1998-08-12 23:49:09 +00:00
Brian Somers 5f38059a0d MFC: Add Id keyword. 1998-08-12 23:46:35 +00:00
Jun Kuriyama 2eb1309a2a MFC: Add doc/ja/FAQ and handbook. 1998-08-12 14:28:12 +00:00
Dag-Erling Smørgrav 7d86f7989e MFC: Add -t option (do not display self) 1998-08-12 10:39:55 +00:00
Satoshi Asami c64a2ad7a0 Add new variables ${PERL_VERSION} (currently "5.00501") and
${PERL_VER} ("5.005").  They are substituted in the PLIST as
%%PERL_VERSION%% and %%PERL_VER%%.

Approved by:	markm
1998-08-12 09:46:46 +00:00
Philippe Charnier 472dd89f71 MFC: check malloc() failures. spelling. 1998-08-12 06:57:33 +00:00
Philippe Charnier 00ff979fe5 MFC: spelling. Use safe malloc() which is provided. 1998-08-12 06:54:23 +00:00
Philippe Charnier 639f4ab424 MFC: spelling. Compare char against '\0' not NULL. 1998-08-12 06:51:28 +00:00
Philippe Charnier 5f2e9ae75b MFC: add missing flags in usage() and SYNOPSIS. Use errx() not err() for
allocation failures.
1998-08-12 06:48:51 +00:00
Philippe Charnier 410b355d5e MFC: cosmetics in syslog() strings. 1998-08-12 06:46:29 +00:00
Philippe Charnier 89850ddc2b MFC: check allocation failures. Spelling. 1998-08-12 06:44:25 +00:00
Philippe Charnier 28b5cb54fa MFC: use err(), check allocation failure, do not dot or \n terminate
fatal(). % -> %% inside printf format string.
1998-08-12 06:42:01 +00:00
Philippe Charnier 725c1ac04c MFC: spelling. 1998-08-12 06:37:07 +00:00
Philippe Charnier ef49cbabad MFC: do not dot terminate errx() strings. Spelling. 1998-08-12 06:35:49 +00:00
Philippe Charnier af831c5313 MFC: use .An. Do not dot terminate SEE ALSO list. 1998-08-12 06:34:18 +00:00
Philippe Charnier 0b52a1dc39 MFC: spelling. Errx() when allocation failure. 1998-08-12 06:32:47 +00:00
Philippe Charnier 68f19f855e MFC: spelling. 1998-08-12 06:31:03 +00:00
Philippe Charnier bbd5542f38 MFC: do not dot terminate syslog() strings. 1998-08-12 06:29:47 +00:00
Philippe Charnier a4aa717a42 MFC: Sed -> .Xr Sed 1. 1998-08-12 06:28:38 +00:00
Philippe Charnier 1191f7d555 MFC: use errx() when malloc() fails, not err(). 1998-08-12 06:25:11 +00:00
Philippe Charnier 437e49fda7 MFC: minor changes. 1998-08-12 06:23:56 +00:00
Philippe Charnier 76f418b858 MFC: not -> is not. 1998-08-12 06:21:10 +00:00
Philippe Charnier 0aea73e04e MFC: minor changes, spelling. 1998-08-12 06:19:35 +00:00
Philippe Charnier 14d0890f8c MFC: minor changes. 1998-08-12 06:15:16 +00:00
John Polstra bb0493fdd2 MFC 1.6 -> 1.7: Allow dollar signs in symbols for better C++ support. 1998-08-12 02:37:00 +00:00
Satoshi Asami d780fb24fb (1) Change USE_X11 (the new one) to USE_XLIB.
(2) Add support for PLIST_SUB variable.  It is a list of "VAR=VALUE" pairs,
    and will substitute %%VAR%% with the value of VALUE in the PLIST.
    Right now it's used for ${OSREL} only, but inviditual ports can
    take advantage of it to avoid having to manually edit PLIST.
Submitted by:	hoek

(3) Add manpages defined in MAN? (taking account of NOMANCOMPRESS) to
    beginning of PLIST automatically.  Note this will cause manpages
    to be packed twice for the time being.  I'm going to clean up the
    PLISTs now.

(4) Add new variable USE_QT, which adds LIB_DEPENDS to qt140.  (And maybe
    BUILD_DEPENDS on moc/qt140 too, if it is indeed a big problem that
    people keep deleting this file.)
Submitted by:	andreas

(5) Fix spacing behind "===>" to be more consistent.
Requested by:	hoek
1998-08-12 01:47:12 +00:00
Bill Paul 852b0e1553 Merge minor DNS tweak from -current. 1998-08-10 19:44:57 +00:00
KATO Takenori 429ace64ba Sync with sys/i386/isa/syscons.c revisions 1.182.2.35.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-08-10 16:59:16 +00:00
KATO Takenori f919966908 Sync with sys/i386/conf/options.i386 revisions 1.26.2.18.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-08-10 16:58:18 +00:00
Peter Hawkins d9b00a5a31 PR: 7522
Correct bug in the inverse operator optimisation code which caused segv
on ! without a following expression.
1998-08-10 10:29:11 +00:00
Kazutaka YOKOTA 52db1dbfd6 YAMFC: SC_BAD_FLICKER 1998-08-10 09:00:09 +00:00
Kazutaka YOKOTA e74af53880 YAMFC: screen flicker workaround (v1.273). 1998-08-10 08:59:25 +00:00
David E. O'Brien 2efc2ff123 MFC rev 1.281
(fix OSREL)
1998-08-10 04:03:38 +00:00
Satoshi Asami 4c5d1c19a4 Add new categories ports-deskutils, ports-x11-{clocks,fm,fonts,toolkits,wm}. 1998-08-09 23:26:58 +00:00
Jordan K. Hubbard d5caf053d3 Make dpt driver shut up if we're not booting verbose, just like
its PCI cousin.
1998-08-09 02:21:11 +00:00
Alexander Langer 6ed7c17b32 MFC (rev 1.8): Typo fix. 1998-08-08 14:20:11 +00:00
Alexander Langer cd51f9bb91 MFC (rev 1.7): cince --> since 1998-08-08 14:10:42 +00:00
Alexander Langer 7d6194b242 MFC (rev 1.14): check for year == -1 before Y2K processing. 1998-08-08 14:02:59 +00:00
Wolfram Schneider 48f15c0992 Fixed it so that adding -DORDER to CFLAGS in the Makefile enables or
disables the availablity of the order option.

Submitted by: "Monte Mitzelfelt" <[email protected]
1998-08-07 18:39:02 +00:00
KATO Takenori 0fc906663e MFC: revision 1.95. 1998-08-07 18:08:05 +00:00
KATO Takenori 4d40e5cee4 Sync with sys/i386/isa/wd.c revisions 1.119.2.13.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-08-07 17:59:18 +00:00
Jordan K. Hubbard b8f59890de Syncronize with the latest ERRATA. 1998-08-06 18:59:40 +00:00
Jordan K. Hubbard 9f7e5b1148 Adjust the relnotes for 2.2.7-stable 1998-08-06 18:45:19 +00:00
Søren Schmidt ce363a2dca Add support for >8G IDE drives.
Kindly sponsored by CyberCity.dk
1998-08-06 18:15:24 +00:00
Mark Murray 259ab43ada Update for perl5.00501. 1998-08-06 10:45:22 +00:00
Joseph Koshy 302713dbca MFC: -u, -v functionality for syslogd.
{ rev 1.16 src/usr.sbin/syslogd/syslogd.8
      rev 1.40 src/usr.sbin/syslogd/syslogd.c
      rev 1.39 src/usr.sbin/syslogd/syslogd.c
      rev 1.11 src/usr.sbin/syslogd/syslog.conf.5 }
1998-08-06 01:43:46 +00:00
John Polstra 2da568b566 MFC 1.7 -> 1.8: Correct an error in the description of skeyaccess(). 1998-08-05 23:43:49 +00:00
David Greenman 3ad3de7734 Brought in fix from rev 1.27: moved assignment of cur_rlp. 1998-08-05 14:10:09 +00:00
Satoshi Asami 0bb52a63c2 Merge 1.279. 1998-08-05 09:29:48 +00:00
Joseph Koshy 328ade5986 MFC: {rev 1.3} change iovec array size (part of PR 7278). 1998-08-05 02:39:59 +00:00
Nate Williams 9b9f6ecfb5 - MFC: Attempt to get the read-only lock but don't expect success. 1998-08-04 22:31:59 +00:00
Nate Williams d952a1a406 - MFC: Remove read-only lock from 'pw'. 1998-08-04 22:20:59 +00:00
Peter Hawkins ddd7195704 PR: 7475
Added support for -q (suppress output) when firewall rules are taken from a file
Solves PR 7475
1998-08-04 13:55:45 +00:00
Dag-Erling Smørgrav 14decd1b62 MFC: For every directory in ${PATH} that ends with "/bin", look for a
corresponding directory ending in "/man".

PR:		7215
Submitted by:	Wayne Scott <[email protected]>
1998-08-04 13:47:25 +00:00
Dag-Erling Smørgrav 3317e3ef80 MFC: Changed prototype in synopsis to match prototype in <pthread.h>. 1998-08-04 13:22:19 +00:00
Peter Hawkins 45eb08e5d6 PR: 7489
Submitted by:	[email protected]
Correct error report for execvp failure
1998-08-04 12:32:03 +00:00
Peter Hawkins 8c72a4eb21 PR: 7488
Submitted by:	[email protected]
fix minor typo in usage()
1998-08-04 12:09:13 +00:00
Peter Hawkins bb33f83b3e PR: 7488
Submitted by:	[email protected]
fix permissions set on creation of $catdir
1998-08-04 12:04:34 +00:00
Alexander Langer dbf0a63ef4 MFC: the pthreads spec is ISO/IEC 9945-1 ANSI/IEEE Std 1003.1 Second
Edition 1996-07-12.
1998-08-03 01:05:11 +00:00
Brian Somers 9021362b63 MFC: uu_lock_txfr prototype & define. 1998-08-02 10:17:48 +00:00
Brian Somers eab44cae99 MFC: Add uu_lock_txfr() 1998-08-02 10:14:09 +00:00
Dima Ruban 5843ea9f43 MFC: Introduce KRB5_HOME variable. 1998-08-01 19:58:19 +00:00
Dag-Erling Smørgrav 316bcd934f MFC: Fix reference to /usr/share/misc/iso3166.
PR:             misc/7459
1998-08-01 09:45:33 +00:00
Dag-Erling Smørgrav 20b026eb56 MFC: bring in phk's man pages for condition variables, mutexes and
cleanup routines. Fix Makefile.inc to reflect the addition. Change
pthread_create man page to point to the new pages and fix a few
typos. Bungle the tagging and beg Peter Wemm to clean up after me.

PR:		7450
Submitted by:	Brian Cully <[email protected]>
1998-07-31 16:00:54 +00:00
cvs2svn 770ae3a7d0 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-07-31 09:09:20 +00:00
Bruce Evans 2cbf0c8775 MFC (1.37: backed out stale workarounds for bugs in getpass(). The bugs
were worse here because only half of the workarounds were merged.  Signal
handling was broken after the first call to getpass(), not just during
calls to getpass()).

PR:		7444
Broken in:	1.12.2.9
1998-07-31 07:42:00 +00:00
Wolfram Schneider 3a447768b2 added support for the o, order, command
Submitted by: "Monte Mitzelfelt" <[email protected]>
1998-07-30 19:18:24 +00:00
Peter Hawkins 0a6f303cb1 PR: bin/7434
Submitted by:	[email protected]
Correct misspellings of DEC founder Ken Olsen's name
1998-07-30 13:35:22 +00:00
Jordan K. Hubbard 0bf739e90d Adjust name for team. 1998-07-30 09:18:58 +00:00
Alexander Langer a709c964db The -l flag is only supported in 3.0. 1998-07-30 02:11:58 +00:00
Brian Somers 39bdb87646 Don't ``set escape 0xff'' - we're not doing an rlogin example. 1998-07-29 19:34:35 +00:00
Brian Somers ae3c024642 MFC: Remove ppp 3000/tcp. Ppp has nothing in common with port 3000. 1998-07-29 19:31:50 +00:00
Dag-Erling Smørgrav 8e6ff52672 MFC: Don't try to dereference a pointer to freed memory.
PR:             bin/7393
1998-07-29 17:50:45 +00:00
Tim Vanderhoek a90dce7b6c MFC: typo 1998-07-29 05:13:55 +00:00
David E. O'Brien c2230409e9 MFC rev 1.278 1998-07-28 22:28:19 +00:00
Tim Vanderhoek 28e089c4da MFC: friendlier error message on kernel-dmesg version mismatch 1998-07-28 18:14:23 +00:00
Peter Hawkins b9db41523f PR: docs/1402
Minor man page clarifications: added pointer from -E to set -o emacs to
clarify how -E is used. Documented exp and let builtins.
1998-07-28 14:47:36 +00:00
Jordan K. Hubbard 1f3a3bdf27 MFC: do proper error reporting. 1998-07-28 11:56:23 +00:00
Wolfram Schneider fca343c999 Round - not cut - the real cpu time. 1998-07-27 12:09:10 +00:00
David Greenman ae6aab7cd1 Brought in fix from rev 1.37: only m_reclaim() if M_WAIT. 1998-07-27 08:41:28 +00:00
Brian Somers 45367ef475 ``set dns'' isn't available in RELENG_2_2. 1998-07-27 06:40:18 +00:00
Joseph Koshy c4145ea3db Add Xref to ldd(1).
PR: 7397
1998-07-26 04:16:04 +00:00
Jordan K. Hubbard 07f1e2c403 Urk. No comment. 1998-07-24 04:57:31 +00:00
Jordan K. Hubbard d84a831797 Fix bug I introduced in REMOTEHOST handling (whoops!).
Submitted by:	Andre Albsmeier <[email protected]>
1998-07-24 04:32:21 +00:00
Jordan K. Hubbard cc6ba868b4 While I'm at it, add new categories. 1998-07-23 19:33:05 +00:00
Jordan K. Hubbard 21a9168142 11th hour fixes to XF86Setup handling and the XF86 dist bit. Gack.
I'll slide the tags forward on these files and update the boot floppy
for 2.2.7.  Nothing catastrophic, but irritating enough to fix floppies
over.
1998-07-23 19:21:41 +00:00
KATO Takenori f79b5d7b4e Sync with sys/i386/i386/userconfig.c revisions 1.63.2.28.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-07-23 10:33:44 +00:00
Jordan K. Hubbard d2ac0794b6 Bump reldate by 1 to denote that it's now past the release.
Suggested by:	asami
1998-07-21 13:56:32 +00:00
Jordan K. Hubbard f679ee58a1 Whoops! Commit the new errata for 2.2.7 - I'll slide the tag forward
for this file.
1998-07-21 13:54:48 +00:00
Jordan K. Hubbard d146ffcd70 Now that the tree is tagged, set to 2.2.7-STABLE 1998-07-21 13:49:50 +00:00
KATO Takenori 50dd249ff2 Sync with sys/i386/i386/userconfig.c and sys/i386/conf/files.i386
revisions 1.63.2.27 and 1.141.2.23, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-07-21 12:12:50 +00:00
Jordan K. Hubbard ce070a231e Get ready for tree tagging in 3 hours (I always forget this, so I'm
doing it now while it's fresh in my mind. :)
1998-07-21 12:06:10 +00:00
Jordan K. Hubbard f08c57b743 Update release notes, XFree86 docs and README in preparation for
2.2.7's release.
1998-07-21 12:00:34 +00:00
Jordan K. Hubbard 806b696bda Spell "adapters" correctly. 1998-07-21 11:50:56 +00:00
Philippe Charnier 88669d7e76 Comment is .\" not .|'. Do not dot terminate .Nd string. Typos. 1998-07-21 06:50:20 +00:00
Joseph Koshy 45a32c826e MFC: {rev 1.14} Fix use of -man macro, correct description of the
behaviour of the `+n' command to match whats there in the source.
1998-07-21 06:48:51 +00:00
Jordan K. Hubbard 1538bd7196 Shorten name of XFree86 contrib sources to be 8.3 compliant. 1998-07-21 06:09:39 +00:00
Jordan K. Hubbard b94c2a8456 Fix several bogus with XF86 distribution handling and display. 1998-07-21 05:42:34 +00:00
Jordan K. Hubbard 24819dfae6 Prevent mislabelled CDs from spitting out more than the necessary
number of "are you sure?" messages.
1998-07-21 05:15:05 +00:00
Jordan K. Hubbard fa82ebeccf Whoops! My mistake - XFree86 is now 3.3.2.3, not 3.3.2.1. 1998-07-21 04:03:25 +00:00
Jordan K. Hubbard bd708d5e35 Update the motd roughly as per PR#6537
Reminded by:	Doug White <[email protected]>
1998-07-21 01:43:36 +00:00
Mike Smith ed58a67988 Patch for the non-PnP case; this killed GENERIC. 1998-07-20 21:00:02 +00:00
Mike Smith 0bad08ed98 MFC: section 4 manpage for 'cs' 1998-07-20 20:13:58 +00:00
Mike Smith 8f97227182 MFC: the 'cs' driver for Crystal Semi CS89x0 adapters. Note that this
is marked as 'disabled' in GENERIC as a safety measure only.

Submitted by:	Maxim Bolotin <[email protected]>
1998-07-20 20:11:11 +00:00
cvs2svn e9073a0a1d This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-07-20 20:02:33 +00:00
Andreas Klemm e85bfb7c5d MFC: use full pathname of makemap command, so it's possible to use
"make all install" from cron ...
1998-07-20 17:43:14 +00:00
Mike Smith 2275791a58 MFC: work with PCNet PCI chips that only behave for us in ISA mode.
Submitted by:	Ted Faber <[email protected]>
1998-07-20 17:41:42 +00:00
Jordan K. Hubbard f885fadf09 Back out one small portion of my previous commit until/unless
the proper infrastructure support for it is brought in.
1998-07-20 11:42:47 +00:00
Jordan K. Hubbard 37c577255c Update to indicate that we'll actually be using XFree86 3.3.2.1 1998-07-20 11:33:08 +00:00
Kazutaka YOKOTA 5dab24749c Fix typo in a keymap file name: latin-amer.iso -> latin-amer. 1998-07-20 10:45:53 +00:00
Jordan K. Hubbard fd5392c48d make /usr/libdata/msdosfs for the koi2dos translation properly.
Submitted by:		Hideki Yamamoto <[email protected]>
1998-07-20 03:09:21 +00:00
Joseph Koshy 84b06bc81a MFC: {rev 1.23} Add CAVEAT on minimum permissions for mount point to be
traversable.
1998-07-20 02:33:46 +00:00
Joseph Koshy 5ee29c69ba MFC: {rev 1.16} fix description of the `-C' option. 1998-07-20 02:30:06 +00:00
Stefan Eßer db9a0a9613 Merge from -current: Add US master site for KDE. 1998-07-19 18:02:39 +00:00
Jordan K. Hubbard 6cf72244e5 -Wall cleanup. 1998-07-19 11:02:20 +00:00
Jordan K. Hubbard 5ba0739a24 Whoops - looks like patch flubbed this one; fix. 1998-07-19 10:56:06 +00:00
Jordan K. Hubbard f093f64e1b MFC: import new data and a few bug fixes. 1998-07-19 06:53:21 +00:00
Jordan K. Hubbard 7d26afd360 MFC: doc fixes, enhancements to bootp. 1998-07-19 06:53:05 +00:00
Jordan K. Hubbard fe9ab80f3c MFC: doc fixes, remove old dreck. 1998-07-19 06:52:13 +00:00
Jordan K. Hubbard 24797bfa88 MFC: doc fixes, casts, cosmetic. 1998-07-19 06:51:50 +00:00
Jordan K. Hubbard ee79220c87 Nuke broken LFS code. 1998-07-19 06:20:27 +00:00
Alexander Langer 938f42a690 MFC (rev 1.93): don't log ICMP type and subtype for non-zero offset
packet fragments.
1998-07-18 23:30:51 +00:00
Tim Vanderhoek 4a3e619048 sample qmail entry 1998-07-18 20:01:08 +00:00
Jordan K. Hubbard 911b2b4e6f MFC: finish usr.sbin 1998-07-18 11:38:12 +00:00
Jordan K. Hubbard cfbe635f8e MFC: doc changes, new rate-limiting inetd(8), lots of minor cosmetic tweaks. 1998-07-18 11:12:47 +00:00
Jordan K. Hubbard 71be27409e MFC: nuke an outdated file I missed. 1998-07-18 09:46:09 +00:00
Jordan K. Hubbard b708943b22 - Handle installation using a wfd as a floppy TOO!
- Handle network installs over fpa, sr, en, cc3i devices if available in kernel
- More scripting goodness, including:
	confirmation dialog box from scripts
	load floppy config file (works recursively for config files)
	dump all sysinstall variables to disk for post install
	    state setup
	handle recursive config file loading (config file loads another)
- Fix some interactive issues
- Fix handling of root chunks (didn't include the altroot bits this time)
- Allow fixit floppy on any floppy device, not just fd0 (needed for wfd!)
- Handle unifed root /usr and /var if desired and scripted, otherwise do
  the normal stuff.

Submitted by:	pst
1998-07-18 09:35:29 +00:00
Jordan K. Hubbard 20a7a90213 Nuke tl0 entry which erroneously got in here. 1998-07-17 23:05:21 +00:00
Jordan K. Hubbard b81d7f330a XFRee86 is now version 3.3.2.
PR:		7308
Submitted by:	Sascha Blank <[email protected]>
1998-07-17 21:55:39 +00:00
Jordan K. Hubbard 4fc19a7cc3 MFC: gack. That's the doc fixes merged, many utilities converted over
to err(), and a few assorted buffer overflow fixes.  Also nuked the
now-useless LFS stuff.
1998-07-17 20:13:53 +00:00
Jordan K. Hubbard b0e6f7baa8 MFC: final round of merges for /usr/src/usr.bin 1998-07-17 08:19:45 +00:00
Jordan K. Hubbard 72f777784d MFC: fix. 1998-07-17 08:07:40 +00:00
Jordan K. Hubbard 4aa4038e99 MFC: update talk, tip and telnet. Usual doc merges and whatnot. 1998-07-17 07:26:31 +00:00
Joerg Wunsch de43ac3c73 MFC: fat warning from rev 1.111 1998-07-17 06:46:12 +00:00
Jordan K. Hubbard 3d2b5d3d9b MFC: doc fixes, enhancements to locate & more, new tail functionality. 1998-07-17 04:21:57 +00:00
Joseph Koshy e3c0ee2101 MFC: {rev 1.12} Correct wording on range of addresses examined by
`msync(2)'.
1998-07-17 04:02:33 +00:00
Joseph Koshy 8857668bd3 MFC: {rev 1.22} Document use of lines beginning with a '#' as comments. 1998-07-17 04:00:02 +00:00
Joseph Koshy a5f91f98bd MFC: {rev 1.26 "pkg_add.1", rev 1.18 "pkg_info.1"} Add $Id$. 1998-07-17 03:55:03 +00:00
Joseph Koshy 18b61ffcf4 MFC: {rev 1.15} Fix inconsistent port numbering in man page. 1998-07-17 03:51:00 +00:00
Jordan K. Hubbard 66c958c770 MFC doc fixes, proper printf() casts, bugfixes for fetch, updated file(1)
command.  Remove dreck.
1998-07-16 23:52:19 +00:00
Justin T. Gibbs 483f113534 MFC: Correct checksum calculation in the case where we loop. 1998-07-16 19:34:38 +00:00
Nate Williams d27a27016a MFC: Fix race condition in pw caused by multiple instances of pwd_mkdb
being run at the same time.

PR:             bin/6787
Submitted by:   Craig Spannring <[email protected]>
1998-07-16 17:20:18 +00:00
Dmitrij Tejblum d9188b3909 This file is an ancient junk. Now Makefile will pick up newer version in
contrib/gcc.
1998-07-16 13:32:46 +00:00
Jordan K. Hubbard 4514d3cda2 MFC: Some of these files, like the relnotes, are due for revisiting. 1998-07-16 10:35:29 +00:00
Jordan K. Hubbard b3e2ee6ec4 MFC: New floppy creation stuff. 1998-07-16 10:27:05 +00:00
Jordan K. Hubbard d97fd2c1e7 MFC: Remove moved files. 1998-07-16 10:21:27 +00:00
Jordan K. Hubbard 6d93c26728 MFC: nuke this file. 1998-07-16 10:16:04 +00:00
Jordan K. Hubbard 4ebd34b205 MFC: new rune functions. 1998-07-16 09:57:02 +00:00
Jordan K. Hubbard 8fbfdc72cb MFC: man page fixes, printf args cast to u_long where appropriate, etc. 1998-07-16 09:35:53 +00:00
Jordan K. Hubbard b7d4f10dad MFC: Bring in FAT32 support from -current.
Merged by:      Hideki Yamamoto <[email protected]>
1998-07-16 02:03:43 +00:00
Jordan K. Hubbard 5a8de2aec5 MFC: Bring in FAT32 support from -current.
Merged by:	Hideki Yamamoto <[email protected]>
1998-07-16 02:01:48 +00:00
Jordan K. Hubbard 132278444b Make prototype match implementation.
Submitted by: Graham Wheeler <[email protected]>
1998-07-16 00:09:29 +00:00
Jordan K. Hubbard ee721a09d3 MFC: PR#6528 - CHIOGSTATUS broken. 1998-07-15 23:33:31 +00:00
Dag-Erling Smørgrav 9117dd171b MFC: allow blank lines in /var/yp/securenets. 1998-07-15 12:16:38 +00:00
Jordan K. Hubbard 5f3015c3bd MFC: man page fixes, octal char support for ls, misc fixes to cp, etc.
Sorry Bruce, that's the best description you're going to get considering
the number of merges I still have to make. :)
1998-07-15 02:01:36 +00:00
Jordan K. Hubbard 4bb2b94267 MFC: new directories. 1998-07-15 01:12:53 +00:00
Andrey A. Chernov cf6ead55c8 MFC: errno 1998-07-14 18:29:20 +00:00
Julian Elischer 0ab55dfca2 MFC: fix braino also merged in from current. (the old cut'n'paste error) 1998-07-13 06:37:11 +00:00
Steve Price 604f2003e4 MFC: cosmetic changes to Spanish LC_TIME strings 1998-07-12 22:36:10 +00:00
Brian Somers f60d177fcf MFC: set local ppp phase logging by default. 1998-07-12 17:23:21 +00:00
Alexander Langer 4b94c4d561 MFC (rev 1.22): removed no longer valid comment. 1998-07-10 21:59:53 +00:00
John Polstra 60152fd230 MFC 1.5 -> 1.6: Bug fix for hard links to files marked immutable. 1998-07-10 16:55:34 +00:00
Joseph Koshy bd2b22f9da MFC: {rev 1.8} "/etc/magic" --> "/usr/share/misc/magic".
PR: 7231 (and 4872)
1998-07-10 11:34:14 +00:00
Julian Elischer 88f3f68f0b MFC: match 1.11
Don't calculate the next hop twice.
1998-07-09 02:02:52 +00:00
Alexander Langer d8d9fcb67c MFC (rev 1.25): detect uid 0 correctly. 1998-07-08 22:44:08 +00:00
Jordan K. Hubbard 3eaae8e498 Remove all traces of BINFORMAT here. It is not meaningful in 2.2 nor will
it ever be meaningful in 2.2.
1998-07-08 13:03:06 +00:00
KATO Takenori 49d747cacc asm->__asm
inline->__inline

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-07-08 09:10:11 +00:00
David Greenman 438c3db78c Brought in changes from rev 1.96: silently discard source routed packets
that aren't for us.
1998-07-08 08:51:38 +00:00
Jordan K. Hubbard 2cb24c3c00 Ack! Don't set ALLLANG in here. The Japanese docs can be built but aren't
installable on a standard system anyway since /usr/share/doc/ja/handbook doesn't
exist.  Found by: Doing a make release on a 2.2-stable system.
1998-07-08 08:50:42 +00:00
John Polstra 3f73857adf Sync with main branch. 1998-07-08 05:33:46 +00:00
John Polstra a91679b9f3 MFC 1.2 -> 1.3: define PT_{LO,HI}PROC. 1998-07-07 23:36:23 +00:00
Jordan K. Hubbard 110bbbb972 MFC: Bruceification. 1998-07-07 22:21:12 +00:00
Jordan K. Hubbard 2b364efe54 MFC: check for non-existant bounds. 1998-07-07 12:09:52 +00:00
Justin T. Gibbs 8be19deb4c asm->__asm
inline->__inline
1998-07-07 05:24:41 +00:00
Joseph Koshy 8a59cbfe07 MFC: {rev 1.17 "pkg_info.1"} fix for PR 7155. 1998-07-07 05:13:36 +00:00
Joseph Koshy 527b07d556 MFC: {rev 1.13 "mount_nfs.8"} fix for PR 6905. 1998-07-07 04:52:54 +00:00
Joseph Koshy e8cc66a626 MFC: {rev 1.5 "atrun.man"} fixes for PR 7109. 1998-07-07 04:49:55 +00:00
Justin T. Gibbs 3874d671e0 MFC: Attempt to read SEEPROM contents in both 93c46 and 93c56/66 modes. 1998-07-06 18:39:56 +00:00
Joseph Koshy adc76b8895 MFC: fixes for PR docs/7064
{rev 1.25 "pkg_add.1"; rev 1.26 "pkg_create.1"; rev 1.16 "pkg_info.1"}
1998-07-06 12:15:22 +00:00
Joseph Koshy 73dc329806 MFC: {rev 1.11} fixes for PR 2850. 1998-07-06 12:01:34 +00:00
Dag-Erling Smørgrav 0e9f19d8aa MFC: force conversion of unit count from string to integer to avoid
endless loop.

PR:		misc/7124
Reviewed by:	Well, bde bickered a little :)
1998-07-06 10:59:17 +00:00
Julian Elischer 472b621990 I now understand one minor detail better, so fix a bad fix. 1998-07-06 09:05:32 +00:00
Julian Elischer 6e2c102ae1 Spotted and fixed a few more bogons not relevant to -current. 1998-07-06 08:48:38 +00:00
Julian Elischer 539c8db0d8 clean up some oversights on the last commits
hopefully catches the corner cases
1998-07-06 08:29:48 +00:00
Brian Somers a97c61f7a2 Version 1.65 -> 1.7 1998-07-06 02:07:29 +00:00
John Polstra 1f8807d283 MFC: Fix spelling error. 1998-07-04 22:13:30 +00:00
Steve Price 53b6bdd138 MFC: remove trigraph (PR#7123) 1998-07-04 19:01:56 +00:00
Alexander Langer 4fa6606d60 MFC (rev 1.12): Permit double digit year values to be used in the next
millenium.
1998-07-04 17:03:36 +00:00
Jordan K. Hubbard ba39198138 Whoops, commit the right version. 1998-07-04 14:12:19 +00:00
Jordan K. Hubbard c073ac0841 Check for null pointer bogosity in PUSHOUT().
Noticed by:	Robert Baron <[email protected]>
1998-07-04 14:10:56 +00:00
Brian Somers b6732eede4 MFC: Make things clearer.
Submitted (some time ago) by: Ted Mittelstaedt <[email protected]>
1998-07-04 12:07:45 +00:00
Brian Somers bf4ee2f0fc MFC: 6668/divert -> 8668/divert. IRC uses 6668. 1998-07-04 01:58:14 +00:00
Brian Somers 618547e832 MFC: Suggest port 8668 rather than 6668 for natd. 1998-07-04 01:54:51 +00:00
Brian Somers a78977ec5d MFC: Fix assorted problems with the history edit functions. 1998-07-03 17:30:30 +00:00
Jordan K. Hubbard 4d01971996 MFC: Check for missing keyboard (PR#7108). 1998-07-03 14:35:25 +00:00
Jordan K. Hubbard f11780d654 MFC: Add ALLLANG 1998-07-03 14:29:09 +00:00
Jordan K. Hubbard fef49ae1b8 MFC: remove ALLLANG 1998-07-03 14:28:32 +00:00
Jordan K. Hubbard fb53305b39 lpd tries to be clever and checks if RM == my_hostname.
However, it doesn't check if the remote printer name it
is sending it to is the same as the local printer name.

Submitted by:	David Malone <[email protected]>
PR:		7081
1998-07-03 14:21:49 +00:00
Jordan K. Hubbard 4f72061603 MFC: entry for Dell. 1998-07-03 14:06:17 +00:00
Jordan K. Hubbard da991c5bb8 MFC: Byte count statistics of multicast vifs are invalid.
PR:	7115
1998-07-03 07:48:14 +00:00
David Greenman 0395b10b55 Brought in changes from rev 1.104: preserve MNT_ASYNC across failed
unmount()s.
1998-07-03 03:50:31 +00:00
Bill Paul 04ac22c254 MFC: add workaround to allow FreeBSD boot block to load and run on
brain-damaged Taiwanese notebook machine.
1998-07-02 15:45:24 +00:00
Julian Elischer 66efb86d51 MFC: merge in some minor cleanups for IP divert 1998-07-01 01:38:38 +00:00
Jun Kuriyama 670f74bf0c MFC: Sync PATH variable with 'dot.login'. 1998-06-30 14:38:05 +00:00
Philippe Charnier 7da55eded9 Various changes obtained from current. 1998-06-30 06:43:23 +00:00
Dmitrij Tejblum 202eb0eeb1 MFC: Provide __error() in libc, to allow linking _THREAD_SAFE objects in
non-threaded programs.
1998-06-29 19:18:17 +00:00
Jordan K. Hubbard ec50325e25 Restore a clobbered tab.
Dedicated to:	bde
1998-06-29 10:15:32 +00:00
Jordan K. Hubbard 3cfee405f8 MFC: crank max disks/slices way down. 1998-06-29 09:28:21 +00:00
Tim Vanderhoek 078c68c47f MFC: .Ar usage, .Xr as appropriate, AUTHOR->AUTHORS 1998-06-29 07:04:36 +00:00
Tim Vanderhoek ec5296f4f0 MFC: a typos and grammer 1998-06-29 06:57:18 +00:00
Tim Vanderhoek 7509804433 CFC: SEE ALSO www.freebsd.org/ports 1998-06-29 06:55:59 +00:00
Tim Vanderhoek 5dd54e5e91 mfc, misc. spelling and grammar gnits. 1998-06-28 21:34:27 +00:00
Brian Somers f7c35593a8 Cosmetic: u_long -> u_int32_t 1998-06-28 10:39:39 +00:00
John Polstra cf572da1fe MFC: Move ftok() from libcompat to libc.
PR:		misc/6763
1998-06-28 05:22:39 +00:00
Justin T. Gibbs 34f937162f MFC: Workaround for aic7880 Rev. B dma hardware bug. 1998-06-28 02:59:53 +00:00
Steve Price c609e0c8df MFC: revision 1.9 1998-06-27 21:30:44 +00:00
Steve Price 8b34ac9cfa MFC: natd support 1998-06-27 21:23:28 +00:00
Steve Price aab4673db2 MFC: revision 1.2 1998-06-27 20:43:02 +00:00
Steve Price 84637f89f2 MFC: typos fixed in revision 1.3 1998-06-27 20:34:11 +00:00
Brian Somers a6446f386b Cosmetic (under FreeBSD):
Even more u_long -> u_int32_t
1998-06-27 16:32:07 +00:00
Brian Somers 42487bdd21 Cosmetic MFC:
OpenBSD struct tunnel_header -> u_int32_t
  Fix ``sizeof(u_long) == 4'' errors.
  Suggested by: theo
1998-06-27 12:05:28 +00:00
Andreas Klemm 491a4a3d96 merged from ­current,
new security warnings (login failures and tcp_wrappers messages)
PR:	closes misc/7050
1998-06-27 11:20:34 +00:00
John Hay 8b4d9bd896 MFC: r 1.18 Hide printf.
PR:		6875
1998-06-27 07:42:00 +00:00
Brian Somers 5c4936cf92 MFC: Don't depend on sizeof(u_long) == 4.
Pointed out by Theo
1998-06-26 19:04:31 +00:00
Brian Somers 89a195026f MFC: Build a des & non-des version of ppp in the same way as
init and ed.
1998-06-26 18:55:07 +00:00
Brian Somers 14fa10a9f7 MFC: DISTRIBUTION=des 1998-06-26 18:52:44 +00:00
Dmitrij Tejblum cc99ed2cf0 Make it setuid root again, as it always has been.
PR:		7070
1998-06-26 14:45:17 +00:00
Pierre Beyssac 69c57b185c MFC: patch rarpd use of the routing socket.
PR: bin/5669
1998-06-26 13:13:53 +00:00
KATO Takenori efcf2affbe Sync with sys/i386/i386/machdep.c revision 1.209.2.24.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-26 02:49:25 +00:00
Jordan K. Hubbard 0f5268be8e Reference CVSup documentation URL for those who don't even quite know
what it is.
1998-06-26 01:47:43 +00:00
Jordan K. Hubbard 5584981aa0 Remove completely obsolete sup lines (we don't support sup from freebsd.org)
and better document the CVSup config stuff.
1998-06-26 01:44:08 +00:00
Bill Paul dbe7a5bde1 MFC: don't treat multiple instances of the same IP address in export
access lists as an error. (2.2.x needs this too.)
1998-06-25 21:27:24 +00:00
Peter Wemm 3ffea809b1 Whoops. :-( Update the if_ppp build glue to deal with 2.3.5 from -current.
(All my systems have lkm's disabled for safety, I ususally forget them.)
1998-06-25 09:02:51 +00:00
Jordan K. Hubbard 337dc04a90 MFC: make boot message buffer size configurable.
PR:     6962
1998-06-25 00:47:48 +00:00
Jordan K. Hubbard 4c2f91dcc4 MFC: make boot message buffer size configurable.
PR:	6962
1998-06-25 00:45:59 +00:00
Jordan K. Hubbard 2ceaee9419 irqs are now passed in as linked list. Update this code accordingly.
Found by:	LINT
1998-06-24 09:21:53 +00:00
Jordan K. Hubbard ede95f98ce Make this build again - at_ifawithnet() takes only one arg. 1998-06-24 08:59:36 +00:00
Jordan K. Hubbard 5e9be4258e Don't enable vcfs by default - it prevents LINT from building. 1998-06-24 08:45:20 +00:00
Jordan K. Hubbard 2855e0437a MFC: Don't pull in compat bits we don't need to. 1998-06-24 06:14:01 +00:00
Peter Wemm 87ca7569fb Update chat with changes from ppp 2.2.0 -> 2.3.5 1998-06-23 22:12:41 +00:00
Peter Wemm 5447f18ee2 Update from ppp 2.2.0 -> 2.3.5, from -current. (actually this is 2.3.3,
as in -current.  the only 2.3.3 -> 2.3.5 changes were a couple of new
#ifdefs for GLIBC on linux)
1998-06-23 21:48:50 +00:00
Peter Wemm 80f3543fbf Update pppd from 2.2.0 -> 2.3.5.
NOTE:  There were a lot of hacks done to pppd along the way that were
never submitted back to the pppd folks and many required extensive
reworking to get them to fit into 2.3.x.  If you've made hacks in the
past that are important, please re-check them to make sure they still work.

OK'ed by: jkh
1998-06-23 21:41:51 +00:00
Peter Wemm a9267e9cc5 Update from ppp-2.2.0 -> 2.3.5, from -current.
New features:  deflate/gzip compression, demand dial, bringup/keepup/pass
filtering using bpf, Idle timeout.  (This version uses the correct
protocol number for deflate BTW).

OK'ed by: jkh
1998-06-23 21:33:24 +00:00
KATO Takenori 743780d418 Sync with sys/i386/conf/Makefile.i386 revision 1.89.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-23 16:27:45 +00:00
Tim Vanderhoek 9d63bf5fb8 Merge in the last two Revs of typo-fixes. 1998-06-23 05:31:20 +00:00
Tim Vanderhoek d60b22bb8d Copy From Current 1998-06-23 04:41:04 +00:00
Tim Vanderhoek e4653f2aee Cross-ref login.conf(5). 1998-06-23 04:39:35 +00:00
Jordan K. Hubbard 261b828a18 MFC: use blanktime 1998-06-23 03:09:45 +00:00
Jordan K. Hubbard a3e8860c3f MFC: kernel version number to go with config(8) change. 1998-06-22 02:48:23 +00:00
Jordan K. Hubbard c958734edc MFC: bring in kernel versioning feature, though with a slightly more
informative error message (which I'll bring forward into -current).
1998-06-22 02:47:35 +00:00
Jordan K. Hubbard 2ed0c8b014 MFC: Bye, airport. 1998-06-21 04:47:40 +00:00
Matthew Hunt e1dafa5619 MFC: Punctuation and style fixes. 1998-06-21 04:44:52 +00:00
cvs2svn c67e0c3e21 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-06-20 18:02:17 +00:00
Tim Vanderhoek 3026b81692 MFC: Rev 1.19, always -HUP syslog, etc. (PR: docs/6385) 1998-06-20 14:41:00 +00:00
Andrey A. Chernov 83cb6761a1 MFC: fix ^Z keypad on/off 1998-06-19 16:16:13 +00:00
Andrey A. Chernov 87c7af1eb5 MFC: #pragma weak, NULL check 1998-06-19 16:14:30 +00:00
KATO Takenori c9168f59f0 Sync with sys/i386/isa/isa.c and sio.c revisions 1.74.2.7 and
1.147.2.16, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-18 07:55:14 +00:00
KATO Takenori ad3059481c MFC (revision 1.65 and 1.66; Add NEC PC-98 chipsets).
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-17 15:29:09 +00:00
Joseph Koshy 8b3fc09d69 MFC: {rev 1.6} Added mention of Intel EE16 to man page. 1998-06-17 08:39:24 +00:00
Bruce Evans 28b17a7357 MFC (sio.c revs.1.203-1.205 and 1.207 and infrastructure: made
tests 3, 5 and 8 non-fatal, etc).  This may fix failing probes for
builtin ports on IWill motherboards.

PR:		6201
1998-06-16 12:51:24 +00:00
Joerg Wunsch e9ed2d9e58 MFC: rev 1.29/1.30, prevent mountd from dumping core for null hostnames
in netgroups.
1998-06-15 15:44:35 +00:00
Justin T. Gibbs afe640f62a MFC - Add support for the Storage Dimensions SDC3222F. 1998-06-14 16:42:29 +00:00
Steve Price 1edf6e57fe MFC: Allow .cpp extension for C++ files.
PR:		6913
Submitted by:	Greg Moncreaff <[email protected]>
1998-06-14 16:10:49 +00:00
Steve Price 303999599a MFC: 'They They' -> 'They' 1998-06-14 16:07:12 +00:00
Bruce Evans bd345a6847 MFC (1.37: various fixes for fdesc_readdir()). 1998-06-14 09:16:28 +00:00
Steve Price 16c46ddeb1 MFC: Add a Swiss-French keymap. 1998-06-13 22:50:10 +00:00
Steve Price 4aa75d8e89 MFC: part of Peter's recent commit that fixed the problem
regarding not being able to use the bnc connector.
1998-06-13 22:43:58 +00:00
Steve Price f9ac6ce951 MFC: add SI_ISJET macro. 1998-06-13 19:37:36 +00:00
Steve Price 1abbc7e638 MFC: mention all device environment variables 1998-06-13 19:30:22 +00:00
Steve Price 06081ff9aa MFC: miserable -> miserably 1998-06-13 19:08:40 +00:00
cvs2svn ffc3058832 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-06-13 18:39:23 +00:00
John Birrell 4e4527d08f MFC. Update file descriptor masks when no file descriptors are ready. 1998-06-12 22:56:49 +00:00
Brian Somers da293e2616 MFC: Correct arg hack
Submitted by: David Leonard <[email protected]>
1998-06-12 17:47:37 +00:00
Julian Elischer ad8ae08198 MFC: 1.29->1.30
There is never a case when a diverted packet shouldn't know about
it's receive interface, so make the supplying of that information
unconditional (unless it's not known).
1998-06-12 03:02:08 +00:00
Guido van Rooij 68381a26cc Install motd mode 644 only (it makes no sens in first installing it
mode 0644 and then 0666)
1998-06-11 20:22:14 +00:00
Peter Hawkins 4a9109434d Submitted by: Peter Hawkins ([email protected])
merge from current: Small man page fix (missing ']' in [:alpha:] example)
1998-06-11 02:18:40 +00:00
Jordan K. Hubbard c86bc6f8f0 Update to Luigi's latest sound driver for -stable (snd980419). 1998-06-10 17:37:02 +00:00
Daniel O'Callaghan d205a6a83f Reviewed by: thepish
MFC: fix grammar, "null" -> "NUL"
1998-06-10 12:39:47 +00:00
Dmitrij Tejblum ba64e486f6 MFC (rev. 1.16): remove stray semicolon. 1998-06-09 14:15:05 +00:00
Julian Elischer e223cc395d MFC:
Don't let ifunit() modify the string passed as an argument.
it may be in the text segment and write protected.
    matches 1.59 -> 1.60
1998-06-08 20:37:30 +00:00
Peter Hawkins 6f34a5269f bin/5730 commit backed out of -stable after advice from Eivind. 1998-06-08 10:55:26 +00:00
Joseph Koshy 3f8ecc006e MFC: {r1.12} Fix typo in printf(). 1998-06-08 06:45:24 +00:00
Joseph Koshy ac2598c6c4 MFC: Spelling fixes from PR 6880. 1998-06-08 06:39:32 +00:00
Joseph Koshy 09a510cb6c MFC: {r1.14} Clarify usage of -c, add example. 1998-06-08 05:44:03 +00:00
Daniel O'Callaghan 48f5fdffe2 MFC: typo: exit -> exist 1998-06-08 02:02:31 +00:00
Brian Somers a6b889c518 Use a width of 0 rather than 32 when HISADDR is 0.0.0.0.
Reported by:      many
Narrowed down by: Lutz Albers <[email protected]>
1998-06-07 17:10:53 +00:00
Brian Somers 4795697b3e MFC: Fix previous commit. bit 1 is the execute bit, not the read bit *blush*
ie, BINMODE=4551 -> BINMODE=4554
     Pointed out by: Bruce Evans <[email protected]>
1998-06-07 17:10:22 +00:00
Peter Hawkins 24527a9225 PR: docs/3636
merge from current
1998-06-07 15:10:27 +00:00
Peter Hawkins 6c1428b383 PR: bin/5730 1998-06-07 14:50:11 +00:00
Peter Hawkins 68d980cbc6 PR: bin/5730
Submitted by:	James Raynard [email protected]
Make config's invalid option warning messages more informative. Corrected by
adding the improved error report from -current. Thanks!
1998-06-07 13:38:16 +00:00
Brian Somers a57994cc66 MFC: Make ppp world-readable so that root can get at it over
NFS when nobody isn't in group network :-)

     Pointed out by: Bruce Evans <[email protected]>
1998-06-07 00:18:30 +00:00
Steve Price 9a19552514 MFC: keymap -> key_map 1998-06-06 17:46:28 +00:00
Peter Hawkins 4beeaece61 PR: docs/5986
Submitted by:	MITSUNAGA Noriaki [email protected]
merge from current
1998-06-06 15:41:11 +00:00
Peter Hawkins a03a3dfac9 PR: docs/5628
Submitted by:	 MITSUNAGA Noriaki [email protected]
Merge from current
1998-06-06 15:19:37 +00:00
Joseph Koshy 058bfe4aa5 MFC: Spelling corrections from PR 6868. 1998-06-06 06:09:26 +00:00
Joseph Koshy 9cb36cbaac MFC: Spelling nits. {r1.14 madvise.2; r1.12 mincore.2} 1998-06-06 05:03:43 +00:00
Bruce Evans 1d33142eed MFC (rev.1.46: don't attempt to copy the whole slices "struct" for
DIOCGSLICEINFO).
1998-06-06 03:13:54 +00:00
Julian Elischer b7c5bc5cb6 MFC: add option to fix divert infinite loop 1998-06-05 21:38:12 +00:00
Joseph Koshy 6b82e09364 MFC: {r1.4} tftpd also uses LOG_FTP. 1998-06-05 11:30:59 +00:00
Joseph Koshy 33c196c2f5 MFC: {r1.5} Mention that logging of messages with -l requires syslog.conf(5) changes. 1998-06-05 11:23:26 +00:00
Andrey A. Chernov 448679fc3a MFC: v1.9 1998-06-05 09:53:52 +00:00
Julian Elischer 3b699a595c Obtained from: NetBSD user David Brownlee <[email protected]>
via the Netatalk lists.
1998-06-05 06:58:59 +00:00
Steve Price d31de57f41 MFC: /nonexistent to /sbin/nologin 1998-06-04 22:38:12 +00:00
Steve Price 4822dd837c MFC: add .error directive. 1998-06-04 22:33:22 +00:00
Steve Price 540077bd30 MFC: allow user in group 0 to su to root. 1998-06-04 22:30:53 +00:00
Steve Price 635c19efb6 MFC: honor default group settings. 1998-06-04 22:28:14 +00:00
Steve Price cde646b3a7 MFC: allow setting idle/realtime priorities per login class. 1998-06-04 22:24:55 +00:00
Steve Price 163ff400ce MFC: set empty login name to '-'. 1998-06-04 22:20:33 +00:00
Steve Price f458046329 MFC: give correct times with old wtmp files. 1998-06-04 21:44:32 +00:00
Steve Price 069bcbca98 #include <errno.h> and avoid whitespce diffs from -current. 1998-06-04 20:47:11 +00:00
Steve Price ecba379d49 MFC: remove obsolete FDSEEKWAIT option.
PR:		6841
Submitted by:	Stefan Eggers <[email protected]>
1998-06-04 20:39:05 +00:00
Bill Paul 452cdb93be MFC: protect errno in signal handlers. 1998-06-04 15:41:45 +00:00
Bill Paul 2295a53329 Protect errno in signal handlers, like in portmap. 1998-06-04 15:11:32 +00:00
Matthew Hunt 552ca95fd8 MFC: Nuke directories in /var/run.
PR:		4138 5619 6793
1998-06-04 00:20:34 +00:00
Joseph Koshy ef99e83ff3 MFC: {r1.4} correct misleading statement on lifetimes of cookies returned
by `telldir()'.
1998-06-03 07:03:28 +00:00
Joseph Koshy 4983422dcd MFC: Spelling typos from Josh Gilliam, PR 6829.
{r1.9 bootpd.8; r1.11 chat.8; r1.2 cvsbug.8; r1.7 dset.8}
1998-06-03 04:35:19 +00:00
Joseph Koshy 9ecccba5c2 MFC: {r1.10} correct description of -crtscts 1998-06-03 04:12:26 +00:00
Joseph Koshy a973ad2c65 MFC: {r1.17} correct typo. 1998-06-03 04:02:20 +00:00
Eivind Eklund 7b861157e5 MFC: Return error when controller time out, and be less chatty during
boot (unless bootverbose).
1998-06-02 23:28:23 +00:00
Daniel O'Callaghan ee7b601efd PR: 6831
Submitted by:	[email protected]
Submitter retracts his PR 6749 which added a '.' after the weekday name.
Weekday name abreviations are supposed to be 3 characters exactly
(some languages pad with <space>)
1998-06-02 22:59:32 +00:00
John Hay a3f35d15db Shuffle the order around a little. This make -stable snaps work again
on our snap building machine. Hopefully also the FreeBSD one.
1998-06-02 18:55:17 +00:00
John Hay a5a00036aa MFC: Don't build perl in build-tools: if NOPERL is defined. 1998-06-02 18:41:21 +00:00
Joseph Koshy e29c1ac30c MFC: {r1.48} correct port# for RADIUS. 1998-06-01 03:58:44 +00:00
Justin T. Gibbs cf59f0d227 Convert to using the bufq macros.
Added sctargattach to initialize the bufq.
1998-06-01 03:42:56 +00:00
Steve Price 6146d4e99b MFC: clarify example 1998-05-31 22:44:52 +00:00
Steve Price 27444a8131 MFC: ${.OBJDIR} and ${.CURDIR} aware 1998-05-31 22:41:43 +00:00
Steve Price 58e0851411 MFC: allow inclusion from C++. 1998-05-31 20:12:58 +00:00
KATO Takenori 0a3be3af1f - Sync with sys/i386/isa/wd.c.
- Cosmetic changes.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:33:32 +00:00
KATO Takenori 7bb87ebe36 Sync with sys/i386/isa/syscons.c revision 1.182.2.33.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:32:32 +00:00
KATO Takenori 20fa32b5ea Cosmetic changes.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:31:49 +00:00
KATO Takenori cafb0fd054 Undeleted dpt driver's entry.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:31:07 +00:00
KATO Takenori 7042dffb4a Sync with sys/i386/i386/trap.c revision 1.83.2.8.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:29:53 +00:00
KATO Takenori ac724a2473 Sync with sys/i386/conf/files.i386 revision 1.141.2.22.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:29:13 +00:00
KATO Takenori 15c11a8df4 Sync with sys/i386/conf/GENERIC revision 1.77.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:28:22 +00:00
Jordan K. Hubbard f73a632628 MFC: 1.22 1998-05-31 15:48:19 +00:00
Andreas Klemm 6f500b940f Merge in port numbers for zebra (multithreaded RIP/OSPF/BGP4 router)
from -current.
1998-05-31 09:38:01 +00:00
Peter Hawkins 5464a1398e PR: conf/2284
Submitted by:	[email protected]
Correct arrow keys in termcap entry for ibm3163 in releng_2_2
1998-05-31 06:54:38 +00:00
Peter Hawkins 04aee08aff PR: bin/2133
apply change in -current to 2.2. corrects potential overflow in
netstat -s output.
1998-05-31 06:36:12 +00:00
Peter Hawkins f1e8b33bc8 Reviewed by: Daniel O'Callaghan([email protected])
Submitted by:	Joseph Koshy <[email protected]>

Merge diffs from 1.6 to 1.7 into releng_2_2 - corrects man page based on
feedback from Bruce Evans.
1998-05-31 05:56:11 +00:00
Matthew Hunt f3f5841b4a MFC: Correct spacing error. Also, NetBSD -> .Bx Net. 1998-05-31 04:56:39 +00:00
Peter Wemm 04f2f25097 Back out of a cross device link a little better.
Remove a #ifdef __NetBSD__ that was in the way.
1998-05-31 00:07:29 +00:00
Jordan K. Hubbard 41b11ee998 Back out the bsd.local.mk changes in 2.2 as well.
Reminded by:	max
1998-05-30 22:40:59 +00:00
Steve Price fb07674849 MFC: Tile -> Title 1998-05-30 22:11:22 +00:00
David E. O'Brien 3cb3366ab9 MFC: us.unix.kbd 1998-05-30 19:54:55 +00:00
John Hay 76c86094de MFC: Don't use absolute path. 1998-05-30 16:22:24 +00:00
David E. O'Brien 77ddaa5b36 Turn on opie* 1998-05-29 22:53:33 +00:00
Daniel O'Callaghan e3d9ec204a PR: 6780
Reviewed by:	jkoshy
Submitted by:	Yoshishige Arai <[email protected]>
MFC: Macro fix and HISTORY removal.
1998-05-29 11:20:50 +00:00
Jordan K. Hubbard 9d09e08b3c MFC: ifdef cleanup. 1998-05-29 06:17:00 +00:00
Jordan K. Hubbard 794d65904a MFC: add to build-tools in order to fix new dependency problems. 1998-05-29 06:06:08 +00:00
Joseph Koshy 2d71c76d2c MFC: Add TERMCAP entry for Linux consoles contributed by Christian Weisgerber,
<[email protected]>.
1998-05-28 06:47:08 +00:00
Julian Elischer d5ee4959a7 MFC: rev 1.25
Stash more state into the diversion routing information.
Allow the user agent to specify a "receive" interface by name as well as
by address. Use this in the default case. This is because more than one
interface can have the same address in the case of P2P links. Should be
compatible with old clients.
1998-05-28 06:28:49 +00:00
Julian Elischer 344d037068 MFC: Take the loop avoidance factor from where the user put it and not
from the PCB (though it was sometimes correct).
from rev 1.24
1998-05-28 06:17:57 +00:00
Daniel O'Callaghan b37764d749 Reviewed by: thepish
MFC: add s and w flags.
1998-05-28 01:01:10 +00:00
Daniel O'Callaghan fde09f3999 PR: 6063
Reviewed by:	jkoshy
Submitted by:	Doug <[email protected]>
MFC: activate installation of boot.help during 'make distribution'
1998-05-28 00:04:48 +00:00
Daniel O'Callaghan 18276eff25 PR: 6063
Reviewed by:	 jkoshy
Submitted by:	Doug <[email protected]>
MFC: Install boot.help during 'make distribution'
1998-05-27 23:46:03 +00:00
KATO Takenori aefeaa1173 MFC: revision 1.2 (fixed syntax error).
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-27 16:52:10 +00:00
KATO Takenori 539896c96e Sync with sys/i386/isa/isa.c revision 1.74.2.6.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-27 16:49:14 +00:00
KATO Takenori 65b3eb750b Sync with sys/i386/conf/files.i386 revision 1.141.2.21.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-27 16:48:34 +00:00
David E. O'Brien bf15b94ee6 + Check args to the howman() and roundup() macros to prevent divide by zero
+ MFC rev 1.12 - fix overflow in chkrange()
1998-05-27 05:16:08 +00:00
David E. O'Brien a7b98b79a3 + Check args to the howman() and roundup() macros to prevent divide by zero
+ MFC rev 1.9 - prevent divide by zero
+ MFC rev 1.8 - guard against a block size of 0 in the label
1998-05-27 05:13:16 +00:00
Jonathan M. Bresler 25b046d76e accidently omitted two file declarations.
so i added them.

Submitted by:	Scot Elliott ([email protected])
1998-05-27 01:26:33 +00:00
John Birrell e291a8bf9a Remove the error test from the call to set the file descriptor to
non-blocking. Devices are written inconsistently so it is not practical
to test for specific errors to ignore. The most common case when this
is a problem is with devices which don't block anyway so failing the
open is the wrong thing to do.
1998-05-26 22:11:30 +00:00
John Birrell eb9ca9b92c When doing a blocking write to a pipe, handle the case where the write
or writev syscall needs to be repeated until all the bytes are written.
1998-05-26 22:07:28 +00:00
KATO Takenori 6da37b7c99 MFC: rev. 1.13 (disable local APIC). 1998-05-26 16:05:33 +00:00
David Greenman e2c2af9a8c brought in fix from rev 1.30: fix net.inet.icmp.bmcastecho = 0. 1998-05-26 11:38:48 +00:00
Daniel O'Callaghan f77c73b170 PR: 1904
Abort if username given is > MAXLOGNAME.
1998-05-26 06:28:30 +00:00
Steve Price a7d111f4db Remove style nits introduced with last commit.
Submitted by:	bde
1998-05-26 02:54:54 +00:00
Steve Price 9a646f2063 MFC: shorter file is noted on stderr. 1998-05-26 00:40:10 +00:00
Steve Price 283ffdcfac MFC: don't append a '/' if already there 1998-05-25 22:45:42 +00:00
Steve Price d4d195bb16 Update code example to reflect new usage.
PR:		6753
Submitted by:	Stefan Eggers <[email protected]>
1998-05-25 21:32:47 +00:00
Bill Fenner 241ade09d5 MFC: rev 1.37: use select(), SO_TIMESTAMP and fix IP options generation. 1998-05-25 20:21:34 +00:00
Steve Price 87887d5259 MFC: dot after day of month. 1998-05-25 18:53:03 +00:00
Steve Price caab4d70db Sync manpage updates too.
Submitted by:	Ruslan Ermilov <[email protected]>
1998-05-25 18:06:39 +00:00
Daniel O'Callaghan 2217c68da0 PR: 6117
Reviewed by:	jkoshy
Submitted by:	Mark Mayo <[email protected]>
MFC: add cross-refs, note ``dumpdev'' in rc.conf.
1998-05-25 12:07:25 +00:00
David Greenman f78845da53 Changed type of nd_procnum to unsigned to protect against negative values
causing system crashes.
PR:		6747
1998-05-25 09:16:00 +00:00
Steve Price 4310cfca49 MFC: merge changes from revision 1.17. 1998-05-25 07:30:04 +00:00
Steve Price e2e66a17d2 MFC: be stricter about commandline arguments 1998-05-25 07:21:49 +00:00
Joseph Koshy 7b8db215fb MFC: {r1.13} Fix example in manual page. 1998-05-25 07:18:13 +00:00
Steve Price 958e50a67a MFC: allow spaces in the filename. 1998-05-25 06:28:02 +00:00
David Greenman c359b67cbf Brought in changes from rev 1.84: fix for timestamp processing. 1998-05-25 05:26:43 +00:00
Steve Price ec688f4a08 MFC: don't clobber 'newsyslog.conf' on upgrade. 1998-05-24 19:50:18 +00:00
Steve Price 5ad7146f13 Fix Anders Email address. 1998-05-24 19:48:38 +00:00
Guido van Rooij 342ef5b9c8 MFC: Plug hole reported on Bugtraq: do not allow mmap with WRITE privs for
append-only and immutable files.
Obtained from: NetBSD (partly)
1998-05-24 19:47:02 +00:00
Steve Price 902d99e95f MFC: new Norwegian keycap entry. 1998-05-24 19:39:02 +00:00
Bill Fenner f7eee400b0 Merge rev 1.30: take IP options into account when calculating length 1998-05-24 19:02:31 +00:00
Steve Price 8faa3f1dea MFC: remove debug message 1998-05-24 03:26:32 +00:00
Steve Price 3e4fc7e650 MFC: document the '-s' commandline option. 1998-05-24 03:13:00 +00:00
Daniel O'Callaghan d5586588a8 PR: 6721
Submitted by:	[email protected]
De-capitalise day/month names.
1998-05-23 11:36:55 +00:00
Dag-Erling Smørgrav a2fbc4d7b8 MFC: precise identification of models within the 586 and 686 families. 1998-05-22 22:18:45 +00:00
Joseph Koshy e84e0e513d MFC: {r1.15 find.1; r1.11 locate.1; r1.5 whereis.1; r1.11 which.1} Add
cross references for find(1), locate(1), whereis(1), which(1).
1998-05-22 11:03:39 +00:00
Joseph Koshy 23aed28a31 MFC: {r1.8} Replace reference to obsolete sigvec(2) with sigaction(2). 1998-05-22 10:50:26 +00:00
Joseph Koshy 1f05bcd029 MFC: {r1.17} Remove self-reference to sigaction(2). 1998-05-22 10:47:41 +00:00
Joseph Koshy f794d7b72e MFC: {r1.10} Improve description of absolute modes. 1998-05-22 10:41:45 +00:00
Joseph Koshy a19f80c311 MFC: {r1.5} Remove reference to obsolete file "README.iBCS2". 1998-05-22 10:29:39 +00:00
Joseph Koshy 61dbde6cd1 MFC: Remove `sigmask()' reference from synopsis. {from r1.6} 1998-05-22 10:01:46 +00:00
Joseph Koshy 2abaeea173 MFC: remove claim about login.conf not being used, reference pw(8)
{from r1.19}
1998-05-22 09:46:17 +00:00
Joseph Koshy b610f0484c MFC: use correct login.conf(5) capability (from r1.20) 1998-05-22 09:38:23 +00:00
Joseph Koshy 13bb7b9673 MFC: warn about interaction of S/Key and login(1) for users without
S/Key passwords.
1998-05-22 09:23:31 +00:00
Joseph Koshy 712a73e5eb MFC: allow `w' to treat a corrupted "utmp" as a non-fatal error. 1998-05-22 09:09:29 +00:00
Joseph Koshy b140eb280d .if defined(cleandepend) -> .if target(cleandepend)
Already fixed in -current where "bsd.dep.mk" handles dependencies.

PR: 6132
1998-05-21 12:34:08 +00:00
James Raynard 0d6d26445e Fix typo in prompt. 1998-05-20 22:23:16 +00:00
Justin T. Gibbs de334427d2 Fix bogus test that prevented NFS roots from working.
Submitted by:	Werner Griessl <[email protected]>
1998-05-20 19:32:10 +00:00
Bill Paul 9e4e7b6054 Merge from current: check only for zero-length record sizes. 1998-05-20 16:00:33 +00:00
Peter Wemm a6d2b31c56 MFC: rev 1.61; selectively enforce file owner permissions rather than
always ignore them.
1998-05-20 11:36:37 +00:00
Peter Wemm e819e61bd4 MFC: rev 1.43, 1.60-1.62 - sanity check flags at mount time 1998-05-20 08:12:14 +00:00
Matthew Hunt e67cead019 MFC: Default to USA to prevent syntax errors. Add rcsid. 1998-05-20 05:44:14 +00:00
Matthew Hunt 1a6d720884 MFC: Add bsd.locale.mk to un-break (or at least break differently)
ports-building.
1998-05-20 04:58:08 +00:00
Jordan K. Hubbard 641b786f0a MFC: nuke distfiles before packing ports. 1998-05-20 01:08:41 +00:00
Brian Somers 2d039c6cc8 MFC: Close forgotten descriptor.
PR: 6690
     Submitted by: Ruslan Ermilov <[email protected]>
1998-05-19 21:50:47 +00:00
Peter Hawkins 6bb8f59ee3 PR: misc/6031
Patch applied as per PR - enables preferential fetch from local mirrors
1998-05-19 13:48:39 +00:00
cvs2svn 28585dd79d This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-05-19 13:14:12 +00:00
Daniel O'Callaghan 929aae7785 MFC: document -q when zeroing. 1998-05-19 12:56:10 +00:00
David E. O'Brien 6cb66086a5 MFC rev 1.35 1998-05-19 11:16:41 +00:00
Kazutaka YOKOTA 52316cb669 MFC: merge fix from syscons.c 1.258.
PR: bin/5899, bin/5907, i386/6542, kern/6566
1998-05-19 09:30:42 +00:00
Guido van Rooij dcfa7b888e MFC: mental disease correction 1998-05-18 17:12:44 +00:00
Guido van Rooij 33cda32e1c MFH: parenthesis and a bug fix 1998-05-18 17:08:29 +00:00
Bill Paul 2172e2dd1e Merge RPC DoS attack fixes from current. 1998-05-18 16:15:26 +00:00
Andrey A. Chernov e425bd5ea4 MFC: 1) back out UTC fix, 2) fix INTERNAL_LS to sense /etc/localtime 1998-05-18 00:07:15 +00:00
Jonathan M. Bresler 8d59e16612 replaced check_rcpt ruleset with one
recommended by Gary Palmer <[email protected]>
Obtained from: http://www.informatik.uni-kiel.de/%7Eca/email/check.html#check_rcpt
1998-05-17 23:14:05 +00:00
Jonathan M. Bresler 8ba2edb1db replaced check_rcpt ruleset with one
recommended by Gary Palmer <[email protected]>
Obtained from: http://www.informatik.uni-kiel.de/%7Eca/email/check.html#check_rcpt
1998-05-17 22:58:51 +00:00
Justin T. Gibbs db89da9393 MFC - Only include if NEISA > 0. 1998-05-17 21:07:37 +00:00
Bill Fenner a133c12535 MFC: set TCP_NODELAY to improve throughput.
PR:		bin/6646
1998-05-17 06:41:36 +00:00
Andrey A. Chernov c3d9cb0e86 MFC: return back initial tzset() 1998-05-16 21:29:20 +00:00
KATO Takenori 2308e29ba2 MFC: revision 1.106 (reboot mode setting). 1998-05-16 14:47:46 +00:00
Justin T. Gibbs 7672e8959a MFC - convert to new bufq functions. 1998-05-15 22:21:31 +00:00
Andrey A. Chernov 8d3f9906c5 MFC: NULL pointer in vidattr 1998-05-15 21:38:12 +00:00
David E. O'Brien 408c25a375 MFC rev 1.34 1998-05-15 21:18:59 +00:00
Andrey A. Chernov 64374b70af MFC: return vfork back + array range termination 1998-05-15 16:53:45 +00:00
Andrey A. Chernov cb277ac3c8 MFC: use fork vs. vfork 1998-05-15 16:30:46 +00:00
Andrey A. Chernov dafa9879c0 MFC: move TZ="" before exec 1998-05-15 16:09:38 +00:00
Andrey A. Chernov a7e1dce45e MFC:
Do TZ= as first thing, since FTP protocol is unable to tell zone offset in
any case.

It makes no difference for anon account (since chroot already makes it GMT),
but if you do mirror with special non-anon login, in old variant
your mirror will be wholy retransmitted twice in the year due to
time zone changes (/etc/localtime plays bad role here)
1998-05-15 15:08:05 +00:00
Daniel O'Callaghan adeccdae56 PR: 6641
Submitted by:	Andre Albsmeier <[email protected]>
Fix -q flag when zeroing a specific rule.
1998-05-15 12:33:37 +00:00
Bruce Evans 23ebbd6970 MFC (1.176: removed share/info from build-tools).
PR:		6138
Tested by:	Andre Albsmeier <[email protected]>
1998-05-15 10:16:20 +00:00
Justin T. Gibbs 72cd9b52e1 Fix EISA interrupt registration and release. 1998-05-15 03:13:50 +00:00
Julian Elischer 50c7e17a79 Tree repair:
This file was not on the RELENG_2_2 branch because RELENG_2_2
was a REVISION tag and not a branch tag.
This happenned at 1.3 consequently, 2.2.5 and 2.2.6
were both released with shar.sh stuck at 1.3 from the mainline.
1.3 was the HEAD so that was ok I guess.
I've made a RELENG_2_2 branch again
and done a merge from current on it,
so nothing should change, except that
cvs update -rRELENG_2_2 -D"May 1" should now produce the right result again.
This was teh only thing stopping cvs update -rRELENG_2_2 -D"May 1"
from checking out a whole historical freebsd 2.2.x tree as of
some specific date.
1998-05-14 00:37:30 +00:00
Justin T. Gibbs 412643fd6d MFC - Fix bogus "cleanup" of bufq_remove(). 1998-05-13 16:06:09 +00:00
Daniel O'Callaghan 0646dedea9 PR: 6466
Submitted by:	Ruslan Ermilov
MFC: Add SIOIFFLAGS handler.
1998-05-13 11:19:05 +00:00
Thomas Gellekum 645f328369 MFC: Translate some traps to SIGSEGV instead of SIGBUS when running under
Linux emulation.
1998-05-13 07:04:54 +00:00
Peter Wemm d1639eab00 MFC: rev 1.25; re-aquire vnode during sillyrename cleanup since we can
block and something else might malloc the same space.

PR: 6611
Submitted by: Stephen Clawson <[email protected]>
1998-05-13 06:15:36 +00:00
Peter Wemm 6e7ee0c1b0 MFC: rev 1.85; initialize *vpp earlier for -o ro nfs mounts.
PR: 1856
Submitted by: [email protected]
1998-05-13 05:48:45 +00:00
Justin T. Gibbs 35e9f60480 MFC - DPT driver from current. 1998-05-12 19:59:31 +00:00
Justin T. Gibbs cceaff95bb Add entries for dpt_eisa.c. Upgrading to the current version of
the DPT driver gave us EISA support.

dpt_eisa.[ch] have been branch tagged into RELENG_2_2.
1998-05-12 19:59:07 +00:00
Justin T. Gibbs 5a6cc9f5b8 MFC - Upgrade to -current's DPT driver. This seems to clear up the problems
reported with the older driver using the CAM SWI mechanism.

      Tested on a PM3224.

      Remove last vestige of the DPT SWI code.
1998-05-12 19:57:31 +00:00
Guido van Rooij 4f671d7bcd MFC: disables TAO for those services that do not know about T/TCP 1998-05-12 19:33:23 +00:00
Bruce Evans ac1a1af858 Fixed merge error in previous commit. 1998-05-12 16:35:25 +00:00
Wolfram Schneider 96e16e6318 MFC: add NetBSD 1.3.2 1998-05-12 14:34:54 +00:00
Masafumi Max NAKANE aa3eed96a7 MFC: Give default value to xntpd_flags. 1998-05-12 10:53:51 +00:00
Wolfram Schneider df0364737a MFC: Add FreeBSD 2.2.7, FreeBSD 2.2.8, NetBSD-1.3.1. 1998-05-12 08:06:16 +00:00
Justin T. Gibbs 7cbb9e7329 MFC - Fix termination test in CIRCLEQ_FOREACH. 1998-05-12 03:57:26 +00:00
Julian Elischer b35e3fd591 Oops wrong branch 1998-05-11 19:21:47 +00:00
Julian Elischer 966bc22633 Submitted by: Andrzej Bialecki <[email protected]>
Minor fix to support SLICE in MFS..
1998-05-11 19:18:44 +00:00
Jordan K. Hubbard c7e75e4336 MFC: add -u (unlink) flag. 1998-05-11 13:03:28 +00:00
Steve Price 763e66fe44 MFC: spelling error 1998-05-11 03:45:52 +00:00
Steve Price 652358464f MFC: NBPG -> PAGE_SIZE 1998-05-11 03:42:44 +00:00
Jordan K. Hubbard 490ad6c767 MFC: update scd and mcd drivers as well in accordance with PR#6567 1998-05-11 00:50:12 +00:00
Jordan K. Hubbard 2808685fc2 MFC: use `a' device for matcd.
Submitted by:   Dave Marquardt <[email protected]>
1998-05-11 00:45:38 +00:00
Tim Vanderhoek e5afe1bbd6 Remove stray line from the manpage.
Fix usage().
Fix someone's fix to comment typo I just fixed in -current (s/time/trim/).
1998-05-10 19:00:46 +00:00
Steve Price f18e98762e MFC: typo fix 1998-05-10 16:36:47 +00:00
Dag-Erling Smørgrav 78878b5fb8 MFC (small bug in previous fix) 1998-05-09 08:56:41 +00:00
Dag-Erling Smørgrav 5a151dc465 MFC (translate leading / in -c argument to %2f)
PR:		bin/6558
1998-05-09 08:50:03 +00:00
Bill Fenner aefa67d3f6 Merge FTP URL documentation from current. (The code change
was merged a long time ago.)
1998-05-09 07:35:13 +00:00
Justin T. Gibbs 4b1b5f0c80 MFC - Use new buf queue macros. 1998-05-08 15:54:10 +00:00
Masafumi Max NAKANE 6ee19db093 MFC: Typo fix.
Pointed out by:	Brian Reichert <[email protected]>
PR:		6480
1998-05-08 14:49:24 +00:00
John-Mark Gurney 2601736e6d MFC: rev1.9 for log 1998-05-07 23:46:37 +00:00
Justin T. Gibbs 83a78fed8e MFC - Convert to new buf queue macros. 1998-05-07 22:47:08 +00:00
Justin T. Gibbs f33c2f1179 MFS - Convert to using new buf queue functions. 1998-05-07 19:04:15 +00:00
Thomas Gellekum a215beeb4a MFC: clean up in the child, not the parent. 1998-05-07 07:25:43 +00:00
Julian Elischer 3bcff1d67d Reviewed by: phk
Submitted by:	[email protected]
MFC:	bring up to 1.30
1998-05-06 22:46:54 +00:00
Justin T. Gibbs 842e8a5143 MFC - buf queue changes for PC98. 1998-05-06 20:12:33 +00:00
Justin T. Gibbs 68d5aaad30 The dpt driver is now standard equipment. 1998-05-06 20:07:25 +00:00
Justin T. Gibbs 491263fec4 Clean up some compile warnings. The diff looks much worse than what I did.
Some inline function definitions were moved so they would be in scope when
called (so they could be inlined), and some code was rearranged to ensure
that variables where initialized before being used.
1998-05-06 20:07:07 +00:00
Justin T. Gibbs 7dfc9a6c3c MFC - subr_autoconf.c is now mandatory (for config hooks). 1998-05-06 20:05:49 +00:00
Justin T. Gibbs 766e63f64b Add CAM interrupt support. 1998-05-06 19:32:16 +00:00
Justin T. Gibbs d43907184d Small change in DDB function code to deal with new definition of TAILQ_PREV. 1998-05-06 19:16:42 +00:00
Justin T. Gibbs 951224d030 MFC - bufqdisksort replaces tqdisksort. 1998-05-06 19:16:03 +00:00
Justin T. Gibbs acb1b3e7e7 buf.h:
MFC - Add new buf queue routines.

device.h:
kernel.h:
param.h:
systm.h:
	MFC - Interrupt driven config hook support.

disklabel.h
	MFC - bufqdisksort replaces tqdisksort.

queue.h:
	MFC.
1998-05-06 19:15:49 +00:00
Justin T. Gibbs b062f88fb6 Convert to new buf queue routines. 1998-05-06 19:12:45 +00:00
Justin T. Gibbs 2541c81d15 Add support for extracting the bus, device, and function from a pcici_t. 1998-05-06 19:12:28 +00:00
Justin T. Gibbs 0ad1b36eac Remove bogus DPTOPT code. 1998-05-06 19:12:03 +00:00
Justin T. Gibbs 21f0ce2d9e Remove DPT SWI code. unifdef DPTOPT. 1998-05-06 19:11:46 +00:00
Justin T. Gibbs 15c7e8bf52 init_main.c:
kern_shutdown.c:
subr_autoconf.c:
	MFC - Add interrupt driven config hook mechanism and split out
	      mountroot and dumpconf.

vfs_bio.c:
	Cleanup B_ORDERED buffer handling.
1998-05-06 19:10:59 +00:00
Justin T. Gibbs 186af8fda4 MFC - Convert to using new buf queue fucntions. 1998-05-06 19:09:34 +00:00
Justin T. Gibbs 46c8a44a4c MFC
fd.c:
mcd.c:
scd.c:
wcd.c:
wd.c:
wfd.c:
	Convert to using new buf queue fucntions.

icu.s:
isa.c:
isa_device.h:
vector.s:
	Remove DPT SWI code.  Add CAM SWI code.

sio.c:
	Remove bogus DPTOPT code.

pcibus.c:
	Add functions for extracting the bus, device, and function
	from old style pcici_ts.
1998-05-06 19:09:16 +00:00
Justin T. Gibbs c41baf82a2 MFC
cpufunc.h:
	const poisening.

md_var.h:
	Add definitions of busdma_swi() and swi_vm().
	Remove DPT SWI code.

trap.c:
	Add CAM SWI mechanism, remove DPT SWI mechanism.

spl.h:
	Remove DPT SWI mechanism - add cam SWI mechanism.

bus.h:
bus_memeio.h:
bus_pio.h:
	Add bus space and bus dma code.
1998-05-06 19:06:41 +00:00
Justin T. Gibbs 4064fa406c MFC
autoconf.c:
	Add interrupt driven config hook mechanism.
	Split out mountroot and dumpconf code so it occurs after
	config hooks run.

machdep.c:
	Clean out old DPT SWI mechanism.

trap.c:
	Add CAM SWI mechanism, remove DPT SWI mechanism.

userconfig.c:
	Remove DPTOPT.  The dpt driver is now standard.

vm_machdep.c:
	Add the VM SWI with hooks to call the bus dma code.

busdma_machdep.c:
	Add bus dma functionality.

Interrupt specification and attach changed to allow shared interrupts.
Shared EISA interrupts don't work in -stable though because we need the
new interrupt code from current.

Match routines now deal with const strings.
1998-05-06 19:04:14 +00:00
Justin T. Gibbs 2af84c38f6 MFC - Eisaconf interface changes.
Interrupt specification and attach changed to allow shared interrupts.
Shared EISA interrupts don't work in -stable though because we need the
new interrupt code from current.

Match routines now deal with const strings.
1998-05-06 18:58:53 +00:00
Justin T. Gibbs c5f92dcd0b Add busdma interfaces to -stable. 1998-05-06 18:55:52 +00:00
Justin T. Gibbs 014691e9da Switch to using the CAM SWI interface. 1998-05-06 18:55:27 +00:00
Andreas Klemm 4c616886db MFC: xxx_prog -> xxx_program, overlooked this new style of var names.
backout last change "named_prog"
1998-05-06 17:43:01 +00:00
Andreas Klemm 7925bd10e5 MFC: document ntpdate_prog and xntpd_prog
fix: named_program -> named_prog
1998-05-06 17:30:34 +00:00
Dag-Erling Smørgrav 218fcb2a12 MFC (submitter says the patch to current is working fine)
PR:		bin/6522
Submitted by:	Rudolf Cejka
1998-05-06 11:09:54 +00:00
Mike Smith ea685a9504 MFC - updates to handle files outside i386/
Submitted by:	Daniel O'Connor <[email protected]>
1998-05-06 05:46:16 +00:00
cvs2svn c880d1c3fb This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-05-06 01:45:56 +00:00
Andreas Klemm cecdd31889 Merged in changes from current
config option to specify the path for ntpdate and xntpd program
1998-05-05 21:39:44 +00:00
Steve Price 11a7f3f908 MFC: make -> ${MAKE}
Ok'd by:	Satoshi
1998-05-04 09:15:06 +00:00
KATO Takenori 05946bf5d1 MFC: Added amd controller. 1998-05-04 08:49:48 +00:00
Martin Cracauer 3a411d362a MFC: When calling a shell function, remember whether exit status is tested.
This is needed for the '-e' option. See the PR for more details.
PR:		6047
1998-05-04 07:25:58 +00:00
Steve Price d6ee2c7ee0 MFC: clarify use of 'if' capability. 1998-05-04 02:41:38 +00:00
KATO Takenori 721471916a Sync with sys/i386/isa/wd.c revision 1.119.2.11.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-04 00:59:32 +00:00
KATO Takenori 4dacc0a232 Sync with sys/i386/conf/majors.i386 revision 1.9.2.10.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-04 00:58:33 +00:00
Steve Price 5353beeaf1 MFC: be picky about commandline and coverup a compiler warning. 1998-05-03 23:24:09 +00:00
Steve Price 06dd32898a MFC: remove invalid .Xr trsp 8 1998-05-03 21:36:05 +00:00
Jean-Marc Zucconi 7d05e404d9 MFC: restore exit.c 1998-05-03 20:25:07 +00:00
Steve Price 22d60b9d4d MFC: typo fixes. 1998-05-03 17:59:52 +00:00
Steve Price fbb7ff7788 MFC: Support for reading 'if' file from /etc/gettytab.
PR:		6492
Submitted by:	Doug White <[email protected]>
1998-05-03 16:33:34 +00:00
Peter Wemm b879286ad4 Update 2.2 from bind 4.9.6 to 4.9.7-t1b 1998-05-02 15:56:49 +00:00
Peter Wemm 0dfaae48fe Merge 4.9.7-t1b changes from current. 1998-05-02 15:54:12 +00:00
Jordan K. Hubbard 8289d13071 MFC: PR#5704
The logic in tape.c:getfile() doesn't allow for a filesystem
        with a blocksize smaller than the tape block size. The problem
        seems to be most easily fixed by changeing where fssize is set.
1998-05-02 09:19:51 +00:00
KATO Takenori 5850744002 MFC: 1.44MB floppy support. 1998-05-02 02:06:53 +00:00
Alexander Langer d27e66afe9 MFC (rev 1.19): strengthen rules for the 127.0.0.0/8 subnet & guarantee
that the lo0 rules appear first.
1998-05-01 16:28:03 +00:00
Dag-Erling Smørgrav 2f7ed923c1 MFC: don't delete man pages with colons in their name
PR:		bin/5439
Submitted by:	Martin Kammerhofer [email protected]
1998-05-01 13:30:14 +00:00
John Birrell 2d8951a051 MFC: Fix incremental priority increment.
PR: bin/6467 Marino Ladavac <[email protected]>
1998-04-30 22:26:30 +00:00
Peter Wemm 7208f7da58 MFC: euid flip while accessing home directory early to get to .login_cap
and to be able to chdir() on NFS served homes without root read access.
1998-04-30 16:52:31 +00:00
Andrey A. Chernov fa41e8ecbe MFC: LC_MESSAGES 1998-04-30 16:50:34 +00:00
Andrey A. Chernov 2135867696 MFC: LC_MESSAGES, fixes 1998-04-30 16:49:02 +00:00
Thomas Gellekum 64824728db MFC part 5: Fix recursion problem which occurs when a signal is received
during a malloc. The signal handler creates a thread which requires a malloc...
For now, the only thing to do is to block signals.
1998-04-30 07:53:36 +00:00
Thomas Gellekum 52a33963d4 MFC part 4: pthread_yield() was renamed to sched_yield() in the
POSIX thread standard.

sched.h is John's version, needed for the prototype.
1998-04-30 06:59:27 +00:00
Andreas Klemm 562dd54075 MFC: correct spelling of UltraStor and ULTRA SCSI hostadapters
PR:		6447
1998-04-29 22:47:11 +00:00
KATO Takenori 591bb8b4b1 MFC: sync with NetBSD/pc98 based on NetBSD/i386 version 1.3G
patchlevel 117.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-29 15:39:47 +00:00
Dag-Erling Smørgrav 298ca8e363 Remove keyboard droppings 1998-04-28 17:26:32 +00:00
Daniel O'Callaghan 07aff0ee33 Spelling police. 1998-04-28 13:49:50 +00:00
Dag-Erling Smørgrav 0603e2d515 Fixed erroneous spelling of "fictitious" in diagnostics and comments.
PR:		kern/6429
1998-04-27 11:39:05 +00:00
Jordan K. Hubbard a2bf7e60fb MFC: retire sup just a wee bit more. 1998-04-26 08:40:48 +00:00
Jordan K. Hubbard 922bdb6089 Add the whatis database to catpages too 1998-04-26 08:34:26 +00:00
Brian Somers 9c3bdda794 MFC: Quieten gcc-2.8.1 1998-04-25 09:17:50 +00:00
Brian Somers 27cf02b4cf MFC: Fix diagnostic. 1998-04-25 00:21:52 +00:00
David E. O'Brien b1ce4b344f MFC rev 1.44/45 (MAXPARTITIONS) 1998-04-24 11:52:31 +00:00
David Greenman e321b3e873 MFC: tcp_var.h/1.43 & tcp_timer.c/1.28: bugfix for PR#6068 - connections
timing out too quickly.
1998-04-24 09:32:43 +00:00
John Birrell 53beafafc2 (Almost) MFC: -pthread argument links against libc_r instead of libc. 1998-04-24 07:46:30 +00:00
Thomas Gellekum 6cef80226a MFC part 3: After fork(), only the calling thread survives in the child. 1998-04-24 07:09:57 +00:00
Dag-Erling Smørgrav c5820a69f3 There is no "rwho" service, it's "who"
PR:		bin/6396
Submitted by:	Ruslan Ermilov <[email protected]>
1998-04-23 19:12:41 +00:00
Thomas Gellekum 327f2d0a90 MFC part 2: Static initializers for mutexes and condition variables. 1998-04-23 08:21:56 +00:00
Paul Traina ca455cf9d7 Back out last commit. 1998-04-23 04:43:26 +00:00
Eivind Eklund b3f7f293ee Fix buffer overflow (that was supposedly previously fixed). This
problem is not present in -current.

Submitted by:	Niall Smart <[email protected]>
1998-04-22 23:00:59 +00:00
Thomas Gellekum b5d1606c18 MFC part 1: Safety belts for code written for older drafts of
the POSIX threads standard.
1998-04-22 09:11:53 +00:00
Paul Traina 2a15cb9a8f MFC: Convert cabs/cabsf definitions to proper prototypes.
[make world soon to follow]
1998-04-22 06:27:52 +00:00
Brian Somers d93e123f62 Back out the removal of psignal() and sys_siglist as
it's not appropriate in this branch.
Suggested by:	bde
1998-04-22 01:48:34 +00:00
Eivind Eklund 67028271f1 MFC: Fix flag spec. 1998-04-21 23:26:21 +00:00
John Polstra 871334506e Merge from main branch 1.5 -> 1.6: Fix forward referenced linker sets. 1998-04-21 04:40:44 +00:00
John Birrell 754bfb6067 MFC: Add entry for gnats-supfile. 1998-04-21 01:39:24 +00:00
Brian Somers d7509ec6d4 MFC: Remove psignal & sys_signlist decls. 1998-04-21 01:04:18 +00:00
Dima Ruban b35f2c2f9a MFC: indent 1998-04-20 22:15:19 +00:00
Bruce Evans 03ffc533f0 MFC (1.8 plus conflicting cosmetic changes from Lite2: don't check
multiple slices on the same drive concurrently for `fsck -p', etc.).

PR:		6129
1998-04-20 16:28:07 +00:00
Bruce Evans 477a48941c YAMFC (don't build files at install time). This should finish fixing
installing from readonly object trees in 2.2 and -current.

Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-20 15:40:58 +00:00
Bruce Evans b4196747f4 Don't build files at install time.
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-20 15:38:54 +00:00
Nate Williams 6c35d1f02a MFC:
- gcc -ansi cleanups
- Don't clear registers
- misc. white-space cleanups
- Made the fake interrupt routine into a real routine

The latter shouldn't be necessary, since interrupts are disabled the entire
time the fake interrupt routine is active, but is provided until we can
figure out what's going on.
1998-04-20 15:05:09 +00:00
Bruce Evans 0732efb715 YAMFC (1.10-1.11: don't generate neqn at install time, etc.)
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-20 15:04:36 +00:00
Jordan K. Hubbard b3af28516a MFC: using linux plip. 1998-04-20 06:18:47 +00:00
Nate Williams 92d33529c7 - Whoops, my previous fix was incomplete. Finish up the 'looping' bug.
Obtained from:	PAO
1998-04-20 05:41:30 +00:00
John Polstra 2e167ceaa6 Eliminate compiler warnings. I modified the submitted patch a
little, primarily by changing the white space.  This aligns the
fix with changes that have already been made in -current, and will
simplify future merges from the main branch.

PR:		bin/6328
Reviewed by:	jdp
Submitted by:	[email protected] (Chia-liang Kao)
1998-04-19 23:01:27 +00:00
Nate Williams ad14096ab5 MFC: Don't spin forever with invalid/unexpected tuples. 1998-04-19 18:42:44 +00:00
Bruce Evans 3baeebae3c MFC (1.55: don't generate osreldate.h at install time).
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-19 13:34:48 +00:00
Bruce Evans 26f8db6806 YAMFC (1.15: don't generate files at install time, etc.).
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-19 13:06:43 +00:00
David E. O'Brien 1b1c081827 NO_LIBC_R --> NOLIBC_R to match -CURRENT. 1998-04-19 09:11:23 +00:00
David E. O'Brien 1bee748688 MFC rev 1.6
(everything but the -pthreads option applies, and I hope that will be fixed
RSN)
1998-04-19 09:04:18 +00:00
David E. O'Brien f25ab3f571 [2nd's a charm]
MFC (reduce diff w/-CUR, with hopes of getting DMA support into -STABLE)
1.128   (FUNCTIONAL: better sleep handling)
1.131   (STYLE: labels w/o stmt)
1.132   (STYLE: remove unused #includes)
1.141   (FUNCTIONAL: devfs bug, 2nd controler not showing)
1.144   (STYLE: dont shadow other vars)
1.150   (FUNCTIONAL: fix search bug)
1998-04-19 08:47:42 +00:00
Nate Williams a0683e0cdd MFC: rdattr function added. 1998-04-18 23:35:32 +00:00
Nate Williams d2c864a65a MFC:
- pccard/card.h -> pccard/cardinfo.h
- Addition of rdattr to pccardc
- cleanups
- Breakout cardd.c into pccardd.c and cardd.c
1998-04-18 23:28:52 +00:00
Nate Williams 6d742d26b6 [ Whoops, forgot about non-x86 stuff]
MFC: pccard/card.h -> pccard/cardinfo.h
1998-04-18 23:27:06 +00:00
Nate Williams 7408e84fc6 MFC: pccard/card.h -> pccard/cardinfo.h 1998-04-18 23:25:14 +00:00
KATO Takenori c97edb527a Sync with sys/i386/isa/syscons.c revision 1.182.2.32.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-18 15:46:25 +00:00
KATO Takenori e30252b5ca Sync with sys/i386/i386/userconfig.c revision 1.48.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-18 15:45:27 +00:00
Gene Stark 55e902f9e2 PR: misc/4679
Submitted by:	Glen Foster ([email protected])
Merge from -current.
1998-04-18 13:43:09 +00:00
David E. O'Brien 20aea8afdc Add mktemp(1) from current. 1998-04-18 10:56:48 +00:00
David E. O'Brien 4a3285b44e Make bulding libc_r the default. This is useful for ports like mysql. 1998-04-18 09:34:05 +00:00
Julian Elischer 6e340edf00 hold a number (that matches -current) for ALTQ
remove duplicate DPT entry
1998-04-17 20:30:58 +00:00
Thomas Gellekum eb69720b0c MFC: when in PS_SIGWAIT state, still call signal handlers
and set errno to EINTR.
1998-04-17 11:22:26 +00:00
Dag-Erling Smørgrav 428c4cf8bf Merged in changes from current (comments about LC_ALL) 1998-04-17 10:54:04 +00:00
Andrey A. Chernov 3932765b29 MFC: add ftp4.ru 1998-04-16 13:58:18 +00:00
Andrey A. Chernov 736908cd90 MFC: XSI macros including attr_get 1998-04-15 23:14:35 +00:00
cvs2svn cd4cc56df0 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-04-15 17:47:41 +00:00
Dag-Erling Smørgrav 6af47c09ec Swapped "should we just return" and "should we stop the screensaver"
in scrn_timer() to prevent deadlock when screensaver sets UNKNOWN_MODE.
1998-04-15 12:00:14 +00:00
Peter Wemm cdd7c9a25d MFC: don't generate potential shell or interpreter metacharacters when
doing character rotation while searching for unique names.
1998-04-15 03:11:37 +00:00
Jonathan M. Bresler 014865a885 rotate sendmail statistics file weekly.
keep the last ten weeks of data.
Submitted by:	jmb
1998-04-14 23:08:29 +00:00
Daniel O'Callaghan bf3ac0df12 PR: 4866
Submitted by:	fenner
Make manpage reflect reality.
1998-04-14 22:10:40 +00:00
KATO Takenori e736e9c249 MFC: Fix panic by probing NE2000 compatible PCI card. 1998-04-14 13:52:28 +00:00
Jonathan M. Bresler 3d7caa8c6a use extended error codes as noted in rfc1893.
retain additional message in check_relay ruleset,
	the message is written into the maillog.
	this is useful to a site's postmaster.
PR:		conf/6226
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov [email protected]
1998-04-14 02:12:20 +00:00
Steve Price 8df3b5fcbf MFC: document use of sendmail options. 1998-04-14 01:00:35 +00:00
Steve Price 622a6a4113 MFC: don't let secs variable wrap. 1998-04-14 00:25:32 +00:00
Steve Price 21a695e665 Add MLINK for mkdtemp.3.
PR:		6291
Submitted by:	Niall Smart <rotel.indigo.ie>
1998-04-13 23:20:52 +00:00
Mike Smith ca35880b03 MFC - don't use INTR mixed with ACCEL.
Submitted by:	Satoh Junichi <[email protected]>
1998-04-13 17:49:30 +00:00
Bruce Evans 013feb26d2 Backed out previous commit. 07.lpd should be in 2.2, at least until
someone merges lpr/SMM.doc.
1998-04-13 14:57:40 +00:00
Bruce Evans 2c449f0911 Backed out previous commit again. 07.lpd should be in 2.2, at least
until someone merges lpr/SMM.doc.
1998-04-13 14:12:37 +00:00
Doug Rabson 4d1c414403 MFC: Fixes for using amd with non-NFSv3 servers and for choosing the right
address for a multihomed server.

PR:		bin/6231, bin/4678
1998-04-13 12:13:17 +00:00
Jordan K. Hubbard 1f3e0bf4cb remove bogus bugs section.
Submitted by:	Niall Smart <[email protected]>
1998-04-13 05:43:45 +00:00
John Polstra d7729627d4 Merge from main branch 1.8 -> 1.9: Add "fildll" and "fistpll" mnemonics. 1998-04-12 18:12:38 +00:00
Jordan K. Hubbard 5ac4756cd7 MFC: fix dependent loading by URL 1998-04-12 16:01:28 +00:00
KATO Takenori 75c4c34b81 Sync with sys/i386/conf/GENERIC revision 1.77.2.22.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:06:06 +00:00
KATO Takenori 28d3934047 Sync with sys/i386/conf/files.i386 revision 1.141.2.20.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:05:28 +00:00
KATO Takenori 920282a631 Sync with sys/i386/i386/machdep.c revision 1.209.2.22.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:04:45 +00:00
KATO Takenori 701ac83834 Sync with sys/i386/conf/GENERIC revision 1.77.2.21.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:04:03 +00:00
Jordan K. Hubbard 162d7e2418 Just totally nuke 07.lpd - it shouldn't even be here.
Shown-the-error-of-my-ways-by:	bde
1998-04-12 06:24:38 +00:00
KATO Takenori 313b05c498 MFC (fix the problem when SCSI ID is not contiguous). 1998-04-12 04:49:12 +00:00
Peter Wemm 01b75c0024 Merge from HEAD; 'cvs update -j' cleanup mistake that probably caused the
stray /tmp files.
1998-04-11 16:15:12 +00:00
Peter Wemm 727ebe49ba YIKES!!!! I accidently committed experimental patches with the 2.2 cvs
update!  I don't think this would cause the stray /tmp file problem, but
this is not meant to be here yet.
1998-04-11 16:03:38 +00:00
Jordan K. Hubbard 1466d87eda Reenable lpd docs - they seem to build fine.
Prodded into action by:	Ruslan Ermilov <[email protected]>
1998-04-11 15:10:08 +00:00
Nate Williams 0b2b15452a - Whoops, better have the structure created before trying to use it in
the patch I just submitted.

Noticed by:	phk
1998-04-09 14:00:36 +00:00
Nate Williams b74bc82a00 MFC: Correctly unregister the interrupt from the system when probes fail. 1998-04-08 15:01:08 +00:00
Peter Wemm ce3cf99c46 Merge cvs from HEAD. 1998-04-05 03:29:11 +00:00
Peter Wemm 3aa7c0b523 Merge cvs from HEAD (contrib/cvs is in a seperate commit) 1998-04-05 03:22:30 +00:00
Daniel O'Callaghan f4061e06a4 Spelling police 1998-04-02 09:30:11 +00:00
Daniel O'Callaghan 6480260e65 PR: bin/6193
Submitted by:	Max Euston <[email protected]>
MFC: Make times 000-0059 and 1200-1259 display as 12:xx instead of 0:xx
1998-04-01 21:38:57 +00:00
Dima Ruban 065d7a1c62 MFC: new variable NOSUIDPERL 1998-04-01 21:09:31 +00:00
Dima Ruban 3b1dc8dc11 MFC: don't compile sperl in NOSUIDPERL defined 1998-04-01 21:08:11 +00:00
Jordan K. Hubbard 97a8168533 Set NOSHARED - if we do a make install from here, we want the
version in /stand to be static.
1998-04-01 15:18:24 +00:00
Mike Smith 63ea0e74a4 Fix misleading "changing root device to" typo. 'st' becomes 'sd' 1998-03-31 02:09:29 +00:00
Jordan K. Hubbard 2e9e189c7c PR#6135 1998-03-30 08:28:48 +00:00
David E. O'Brien f05810df70 MFC rev 1.20 1998-03-29 23:42:23 +00:00
Alexander Langer 6601a957c2 MFC (rev 1.79): Allow ICMP unreachable messages to be sent in response
to ICMP query packets.
1998-03-29 15:01:13 +00:00
Mark Murray 01269919af MFC: fix nasty typo/bug 1998-03-29 08:16:48 +00:00
Jordan K. Hubbard 734c0c19ef Adjust to note that we're back on the branch. 1998-03-28 03:00:50 +00:00
Kazutaka YOKOTA beb00ced8e - The PS/2 mouse driver, psm, is not disabled in the GENERIC
kernel anymore.  Oh, well, I thought I had updated all relevant
  docs regarding this point; I was wrong, apparently ;-<
- While I am here, brush up the description on the mse driver as well.
1998-03-27 03:10:20 +00:00
Stefan Eßer 6cb9e33bbb Add support for Compaq ProLiant 1200 host to PCI bridge 1998-03-26 22:28:42 +00:00
Peter Wemm a320c4932b Sigh. Restore additions spammed in previous commit. :-( Thanks guys! 1998-03-26 15:24:52 +00:00
Jordan K. Hubbard 0aac22672f Tree is now tagged so change branch to STABLE 1998-03-24 18:07:21 +00:00
5837 changed files with 201838 additions and 66520 deletions

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
# $FreeBSD$
# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94
All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite
+32 -14
View File
@@ -1,15 +1,13 @@
#
# $Id: Makefile,v 1.109.2.24 1998/03/09 14:18:02 jkh Exp $
# $FreeBSD$
#
# Make command line options:
# -DCLOBBER will remove /usr/include
# -DMAKE_KERBEROS4 to build KerberosIV
# -DALLLANG to build documentation for all languages
# (where available -- see share/doc/Makefile)
#
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNOCLEAN do not clean at all
# -DNOTOOLS do not rebuild any tools first
# -DNOTOOLS do not rebuild any tools first
# -DNOCRYPT will prevent building of crypt versions
# -DNOLKM do not build loadable kernel modules
# -DNOOBJDIR do not run ``${MAKE} obj''
@@ -18,6 +16,7 @@
# -DNOGAMES do not go into games subdir
# -DNOSHARE do not go into share subdir
# -DNOINFO do not make or install info files
# -DNOLIBC_R do not build libc_r.
# -DNOPERL do not make or install perl
# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list
@@ -126,8 +125,8 @@ CLEANDIR= cleandir
.endif
.endif
SUP?= sup
SUPFLAGS?= -v
SUP?= cvsup
SUPFLAGS?= -g -L 2 -P -
#
# While building tools for bootstrapping, we dont need to waste time on
@@ -345,7 +344,7 @@ reinstall:
update:
.if defined(SUP_UPDATE)
@echo "--------------------------------------------------------------"
@echo "Running sup"
@echo "Running ${SUP}"
@echo "--------------------------------------------------------------"
@${SUP} ${SUPFLAGS} ${SUPFILE}
.if defined(SUPFILE1)
@@ -526,14 +525,15 @@ lib-tools:
usr.bin/tsort \
gnu/usr.bin/as \
gnu/usr.bin/bison \
gnu/usr.bin/cc \
gnu/usr.bin/awk \
usr.bin/ar \
usr.bin/compile_et \
usr.bin/lex/lib \
usr.bin/mk_cmds \
usr.bin/nm \
usr.bin/ranlib \
usr.bin/uudecode
usr.bin/uudecode \
gnu/usr.bin/cc
cd ${.CURDIR}/$d && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
@@ -553,6 +553,16 @@ libraries:
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libc)
cd ${.CURDIR}/lib/libc && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libmytinfo)
cd ${.CURDIR}/lib/libmytinfo && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libncurses)
cd ${.CURDIR}/lib/libncurses && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
@@ -594,6 +604,13 @@ libraries:
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
# Exclude perl from the build-tools if NOPERL is defined.
.if defined(NOPERL)
_perl=
.else
_perl= gnu/usr.bin/perl/perl
.endif
#
# build-tools - build and install any other tools needed to complete the
# compile and install.
@@ -612,6 +629,7 @@ build-tools:
bin/date \
bin/dd \
bin/echo \
usr.bin/yacc \
bin/expr \
bin/hostname \
bin/ln \
@@ -619,17 +637,16 @@ build-tools:
bin/mkdir \
bin/mv \
bin/rm \
bin/sh \
bin/test \
gnu/usr.bin/awk \
gnu/usr.bin/bc \
gnu/usr.bin/grep \
gnu/usr.bin/groff \
gnu/usr.bin/gzip \
gnu/usr.bin/man/makewhatis \
gnu/usr.bin/patch \
${_perl} \
gnu/usr.bin/sort \
gnu/usr.bin/texinfo \
share/info \
usr.bin/basename \
usr.bin/cap_mkdb \
usr.bin/chflags \
@@ -640,6 +657,7 @@ build-tools:
usr.bin/file2c \
usr.bin/find \
usr.bin/gencat \
usr.bin/id \
usr.bin/lorder \
usr.bin/m4 \
usr.bin/mkdep \
@@ -657,10 +675,10 @@ build-tools:
usr.bin/vgrind \
usr.bin/vi \
usr.bin/wc \
usr.bin/yacc \
usr.sbin/chown \
usr.sbin/mtree \
usr.sbin/zic
usr.sbin/zic \
bin/sh
cd ${.CURDIR}/$d && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
+4 -2
View File
@@ -1,5 +1,5 @@
This is the top level of the FreeBSD source directory. This file
was last revised on: $Id: README,v 1.7.2.1 1997/08/13 19:49:35 jkh Exp $
was last revised on: $FreeBSD$
For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
@@ -34,7 +34,7 @@ bin System/User commands.
contrib Packages contributed by 3rd parties.
eBones Kerberos package - NOT FOR EXPORT!
crypto Export controlled stuff (see crypto/README).
etc Template files for /etc
@@ -45,6 +45,8 @@ gnu Various commands and libraries under the GNU Public License.
include System include files.
kerberosIV Kerberos package - also export controlled.
lib System libraries.
libexec System daemons.
+1 -1
View File
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.4 1995/10/01 14:24:01 markm Exp $
# $FreeBSD$
SUBDIR= cat chio 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
View File
@@ -1,5 +1,5 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
BINDIR?= /bin
NOSHARED?= YES
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= cat
+16 -18
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cat.1 8.3 (Berkeley) 5/2/95
.\" $Id: cat.1,v 1.6 1997/02/22 14:01:26 peter Exp $
.\" $FreeBSD$
.\"
.Dd May 2, 1995
.Dt CAT 1
@@ -48,7 +48,7 @@
.Op Ar
.Sh DESCRIPTION
The
.Nm cat
.Nm
utility reads files sequentially, writing them to the standard output.
The
.Ar file
@@ -56,47 +56,44 @@ operands are processed in command line order.
A single dash represents the standard input.
.Pp
The options are as follows:
.Bl -tag -width Ds
.Bl -tag -width indent
.It Fl b
Implies the
.Fl n
option but doesn't number blank lines.
Number the non-blank output lines, starting at 1.
.It Fl e
Implies the
Display non-printing characters (see the
.Fl v
option, and displays a dollar sign
option), and display a dollar sign
.Pq Ql \&$
at the end of each line
as well.
at the end of each line.
.It Fl n
Number the output lines, starting at 1.
.It Fl s
Squeeze multiple adjacent empty lines, causing the output to be
single spaced.
.It Fl t
Implies the
Display non-printing characters (see the
.Fl v
option, and displays tab characters as
.Ql ^I
as well.
option), and display tab characters as
.Ql ^I .
.It Fl u
The
.Fl u
option guarantees that the output is unbuffered.
.It Fl v
Displays non-printing characters so they are visible.
Display non-printing characters so they are visible.
Control characters print as
.Ql ^X
for control-X; the delete
character (octal 0177) prints as
.Ql ^?
Non-ascii characters (with the high bit set) are printed as
.Pf Non- Tn ASCII
characters (with the high bit set) are printed as
.Ql M-
(for meta) followed by the character for the low 7 bits.
.El
.Pp
The
.Nm cat
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh BUGS
Because of the shell language mechanism used to perform output
@@ -119,7 +116,8 @@ will cause the original data in file1 to be destroyed!
A
.Nm
command appeared in Version 1 AT&T UNIX.
Dennis Ritchie designed and wrote the first man page.
.An Dennis Ritchie
designed and wrote the first man page.
It appears to have been
.Xr cat 1 .
+1 -1
View File
@@ -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.5 1996/09/30 15:45:36 ache Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1.1.1 1997/03/06 15:30:06 joerg Exp $
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= chio
+55 -53
View File
@@ -30,6 +30,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\"
.Dd April 2, 1996
.Dt CHIO 1
.Os
@@ -61,49 +63,53 @@ rather than the default device
.El
.Pp
The default changer may be overridden by setting the environment variable
.Nm CHANGER
.Ev CHANGER
to the desired changer device.
.Pp
A medium changer apparatus is made up of
.Pa elements .
.Em elements .
There are four element types:
.Pa picker
.Em picker
(medium transport),
.Pa slot
.Em slot
(storage),
.Pa portal
.Em portal
(import/export), and
.Pa drive
.Em drive
(data transfer). In this command description, the shorthand
.Nm ET
.Em ET
will be used to represent an element type, and
.Nm EU
.Em EU
will be used to represent an element unit. For example, to represent
the first robotic arm in the changer, the ET would be
the first robotic arm in the changer, the
.Em ET
would be
.Dq picker
and the EU would be
and the
.Em EU
would be
.Dq 0 .
.Pp
.Sh SUPPORTED COMMANDS
.Nm chio move
.Bl -tag -width indent
.It Xo Nm chio move
.Ar <from ET> <from EU> <to ET> <to EU>
.Op Ar inv
.Pp
Moves the media unit from
.Xc
Move the media unit from
.Pa <from ET/EU>
to
.Pa <to ET/EU> .
If the optional modifier
.Pa inv
is specified, the media unit will be inverted before insertion.
.Pp
.Nm chio exchange
.It Xo Nm chio exchange
.Ar <src ET> <src EU> <dst1 ET> <dst1 EU>
.Op Ar <dst2 ET> <dst2 ET>
.Op Ar inv1
.Op Ar inv2
.Pp
Performs a media unit exchange operation. The media unit in
.Xc
Perform a media unit exchange operation. The media unit in
.Pa <src ET/EU>
is moved to
.Pa <dst1 ET/EU>
@@ -130,11 +136,10 @@ Note that not all medium changers support the
.Nm exchange
operation; The changer must have multiple free pickers or emulate
multiple free pickers with transient storage.
.Pp
.Nm chio position
.It Xo Nm chio position
.Ar <to ET> <to EU>
.Op Ar inv
.Pp
.Xc
Position the picker in front of the element described by
.Pa <to ET/EU> .
If the optional modifier
@@ -142,62 +147,59 @@ If the optional modifier
is specified, the media unit will be inverted before insertion.
.Pp
Note that not all changers behave as expected when issued this command.
.Pp
.Nm chio params
.Pp
.It Nm chio params
Report the number of slots, drives, pickers, and portals in the changer,
and which picker unit the changer is currently configured to use.
.Pp
.Nm chio getpicker
.Pp
.It Nm chio getpicker
Report which picker unit the changer is currently configured to use.
.Pp
.Nm chio setpicker
.It Xo Nm chio setpicker
.Ar <unit>
.Pp
.Xc
Configure the changer to use picker
.Pa <unit> .
.Pp
.Nm chio status
.It Xo Nm chio status
.Op Ar <type>
.Pp
.Xc
Report the status of all elements in the changer. If
.Pa <type>
is specified, report the status of all elements of type
.Pa <type> .
.El
.Pp
The status bits are defined as follows:
.Bl -tag -width indent
.It Nm FULL
.It FULL
Element contains a media unit.
.It Nm IMPEXP
.It IMPEXP
Media was deposited into element by an outside human operator.
.It Nm EXCEPT
.It EXCEPT
Element is in an abnormal state.
.It Nm ACCESS
.It ACCESS
Media in this element is accessible by a picker.
.It Nm EXENAB
Element supports passing media (exporting) to an outsite human operator.
.It Nm INENAB
.It EXENAB
Element supports passing media (exporting) to an outside human operator.
.It INENAB
Element supports receiving media (importing) from an outside human operator.
.El
.Pp
.Sh EXAMPLES
.Nm chio move slot 3 drive 0
.Pp
Moves the media in slot 3 (fourth slot) to drive 0 (first drive).
.Pp
.Nm chio setpicker 2
Configures the changer to use picker 2 (third picker) for operations.
.Pp
.Bl -tag -width indent
.It Nm chio move slot 3 drive 0
Move the media in slot 3 (fourth slot) to drive 0 (first drive).
.It Nm chio setpicker 2
Configure the changer to use picker 2 (third picker) for operations.
.El
.Sh FILES
/dev/ch0 - default changer device
.Bl -tag -width /dev/ch0 -compact
.It Pa /dev/ch0
default changer device
.El
.Sh SEE ALSO
.Xr mt 1 ,
.Xr ch 4 ,
.Xr mount 8 .
.Sh AUTHOR
.Xr mount 8
.Sh AUTHORS
The
.Nm chio
program and SCSI changer driver were written by Jason R. Thorpe
<[email protected]> for And Communications, http://www.and.com/
.Nm
program and SCSI changer driver were written by
.An Jason R. Thorpe Aq [email protected]
for And Communications, http://www.and.com/
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: chio.c,v 1.1.1.1.2.2 1997/08/24 10:29:16 jkh Exp $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= chmod
+50 -24
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $Id: chmod.1,v 1.4.2.1 1997/02/28 07:54:25 mpp Exp $
.\" $FreeBSD$
.\"
.Dd March 31, 1994
.Dt CHMOD 1
@@ -51,7 +51,7 @@
.Ar file ...
.Sh DESCRIPTION
The
.Nm chmod
.Nm
utility modifies the file mode bits of the listed files
as specified by the
.Ar mode
@@ -82,7 +82,7 @@ Symbolic links do not have modes, so unless the
or
.Fl L
option is set,
.Nm chmod
.Nm
on a symbolic link always succeeds and has no effect.
The
.Fl H ,
@@ -99,39 +99,63 @@ Only the owner of a file or the super-user is permitted to change
the mode of a file.
.Pp
The
.Nm chmod
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh MODES
Modes may be absolute or symbolic.
An absolute mode is an octal number constructed by
.Ar or-ing
the following values:
An absolute mode is an octal number constructed from the sum of
one or more of the following values:
.Pp
.Bl -tag -width 6n -compact -offset indent
.It Li 4000
set-user-ID-on-execution
( see
(the set-user-ID-on-execution bit) Executable files with this bit set
will run with effective uid set to the uid of the file owner.
Directories with the set-user-id bit set will force all files and
sub-directories created in them to be owned by the directory owner
and not by the uid of the creating process, if the underlying file
system supports this feature: see
.Xr chmod 2
for directories )
and the
.Ar suiddir
option to
.Xr mount 1 .
.It Li 2000
set-group-ID-on-execution
(the set-group-ID-on-execution bit) Executable files with this bit set
will run with effective gid set to the gid of the file owner.
.It Li 1000
sticky bit, see
.Xr chmod 2
(the sticky bit)
When set on a directory, unprivileged users can delete and rename
only those files in the directory that are owned by them, regardless of
the permissions on the directory. Under FreeBSD, the sticky bit is
ignored for executable files and may only be set for directories (see
.Xr sticky 8 ).
.It Li 0400
read by owner
Allow read by owner.
.It Li 0200
write by owner
Allow write by owner.
.It Li 0100
execute (or search for directories) by owner
.It Li 0070
read, write, execute/search by group
.It Li 0007
read, write, execute/search by others
For files, allow execution by owner. For directories, allow the owner to
search in the directory.
.It Li 0040
Allow read by group members.
.It Li 0020
Allow write by group members.
.It Li 0010
For files, allow execution by group members. For directories, allow
group members to search in the directory.
.It Li 0004
Allow read by others.
.It Li 0002
Allow write by others.
.It Li 0001
For files, allow execution by others. For directories allow others to
search in the directory.
.El
.Pp
The read, write, and execute/search values for group and others
are encoded as described for owner.
For example, the absolute mode that permits read, write and execute by
the owner, read and execute by group members, read and execute by
others, and no set-uid or set-gid behaviour is 755
(400+200+100+040+010+004+001).
.Pp
The symbolic mode is described by the following grammar:
.Bd -literal -offset indent
@@ -280,16 +304,18 @@ option for the naughty bits.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr install 1 ,
.Xr mount 1 ,
.Xr chmod 2 ,
.Xr stat 2 ,
.Xr umask 2 ,
.Xr fts 3 ,
.Xr setmode 3 ,
.Xr symlink 7 ,
.Xr chown 8
.Xr chown 8 ,
.Xr sticky 8
.Sh STANDARDS
The
.Nm chmod
.Nm
utility is expected to be
.St -p1003.2
compatible with the exception of the
+1 -1
View File
@@ -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.5.2.1 1997/08/24 10:30:25 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= cp
SRCS= cp.c utils.c
+16 -14
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $Id: cp.1,v 1.9 1997/02/22 14:01:32 peter Exp $
.\" $FreeBSD$
.\"
.Dd April 18, 1994
.Dt CP 1
@@ -60,7 +60,7 @@
.Ar source_file ... target_directory
.Sh DESCRIPTION
In the first synopsis form, the
.Nm cp
.Nm
utility copies the contents of the
.Ar source_file
to the
@@ -72,7 +72,7 @@ is copied to the destination
.Ar target_directory .
The names of the files themselves are not changed.
If
.Nm cp
.Nm
detects an attempt to copy a file to itself, the copy will fail.
.Pp
The following options are available:
@@ -94,11 +94,11 @@ option is specified, no symbolic links are followed.
If
.Ar source_file
designates a directory,
.Nm cp
.Nm
copies the directory and the entire subtree connected at that point.
This option also causes symbolic links to be copied, rather than
indirected through, and for
.Nm cp
.Nm
to create special files rather than copying them as normal files.
Created directories have the same mode as the corresponding source
directory, unmodified by the process' umask.
@@ -112,8 +112,8 @@ option overrides any previous
.Fl i
options.)
.It Fl i
Causes
.Nm cp
Cause
.Nm
to write a prompt to the standard error output before copying a file
that would overwrite an existing file.
If the response from the standard input begins with the character
@@ -127,8 +127,8 @@ option overrides any previous
.Fl f
options.)
.It Fl p
Causes
.Nm cp
Cause
.Nm
to preserve in the copy as many of the modification time, access time,
file flags, file mode, user ID, and group ID as allowed by permissions.
.Pp
@@ -143,13 +143,15 @@ be preserved, the set group ID bit is not preserved
in the copy's permissions.
If the source file has both its set user ID and set group ID bits on,
and either the user ID or group ID cannot be preserved, neither
the set user ID or set group ID bits are preserved in the copy's
the set user ID nor set group ID bits are preserved in the copy's
permissions.
.El
.Pp
For each destination file that already exists, its contents are
overwritten if permissions allow, but its mode, user ID, and group
ID are unchanged.
overwritten if permissions allow. Its mode, user ID, and group
ID are unchanged unless the
.Fl p
option was specified.
.Pp
In the second synopsis form,
.Ar target_directory
@@ -200,7 +202,7 @@ command's actions are determined by the last one specified.
exits 0 on success, >0 if an error occurred.
.Sh COMPATIBILITY
Historic versions of the
.Nm cp
.Nm
utility had a
.Fl r
option.
@@ -215,7 +217,7 @@ or fifo's.
.Xr symlink 7
.Sh STANDARDS
The
.Nm cp
.Nm
command is expected to be
.St -p1003.2
compatible.
+2 -1
View File
@@ -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.10 1996/03/08 06:58:06 wosch Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -261,6 +261,7 @@ copy(argv, type, fts_options)
for (rval = 0; (curr = fts_read(ftsp)) != NULL;) {
switch (curr->fts_info) {
case FTS_NS:
case FTS_DNR:
case FTS_ERR:
warnx("%s: %s",
curr->fts_path, strerror(curr->fts_errno));
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.2 (Berkeley) 4/1/94
* $Id: extern.h,v 1.3 1996/02/18 18:48:26 wosch Exp $
* $FreeBSD$
*/
typedef struct {
+30 -16
View File
@@ -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.9.2.1 1997/08/24 10:34:49 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -207,7 +207,7 @@ copy_link(p, exists)
int len;
char link[MAXPATHLEN];
if ((len = readlink(p->fts_path, link, sizeof(link))) == -1) {
if ((len = readlink(p->fts_path, link, sizeof(link) - 1)) == -1) {
warn("readlink: %s", p->fts_path);
return (1);
}
@@ -262,7 +262,9 @@ setfile(fs, fd)
int fd;
{
static struct timeval tv[2];
struct stat ts;
int rval;
int gotstat;
rval = 0;
fs->st_mode &= S_ISUID | S_ISGID | S_ISVTX |
@@ -274,30 +276,42 @@ setfile(fs, fd)
warn("utimes: %s", to.p_path);
rval = 1;
}
if (fd ? fstat(fd, &ts) : stat(to.p_path, &ts))
gotstat = 0;
else {
gotstat = 1;
ts.st_mode &= S_ISUID | S_ISGID | S_ISVTX |
S_IRWXU | S_IRWXG | S_IRWXO;
}
/*
* Changing the ownership probably won't succeed, unless we're root
* or POSIX_CHOWN_RESTRICTED is not set. Set uid/gid before setting
* the mode; current BSD behavior is to remove all setuid bits on
* chown. If chown fails, lose setuid/setgid bits.
*/
if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
chown(to.p_path, fs->st_uid, fs->st_gid)) {
if (errno != EPERM) {
if (!gotstat || fs->st_uid != ts.st_uid || fs->st_gid != ts.st_gid)
if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
chown(to.p_path, fs->st_uid, fs->st_gid)) {
if (errno != EPERM) {
warn("chown: %s", to.p_path);
rval = 1;
}
fs->st_mode &= ~(S_ISUID | S_ISGID);
}
if (!gotstat || fs->st_mode != ts.st_mode)
if (fd ? fchmod(fd, fs->st_mode) : chmod(to.p_path, fs->st_mode)) {
warn("chown: %s", to.p_path);
rval = 1;
}
fs->st_mode &= ~(S_ISUID | S_ISGID);
}
if (fd ? fchmod(fd, fs->st_mode) : chmod(to.p_path, fs->st_mode)) {
warn("chown: %s", to.p_path);
rval = 1;
}
if (fd ?
fchflags(fd, fs->st_flags) : chflags(to.p_path, fs->st_flags)) {
warn("chflags: %s", to.p_path);
rval = 1;
}
if (!gotstat || fs->st_flags != ts.st_flags)
if (fd ?
fchflags(fd, fs->st_flags) : chflags(to.p_path, fs->st_flags)) {
warn("chflags: %s", to.p_path);
rval = 1;
}
return (rval);
}
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.5 1994/09/24 02:53:44 davidg Exp $
# $FreeBSD$
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 8/14/93
# $Id$
# $FreeBSD$
DIR= usd/04.csh
SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.a csh.g
+1 -1
View File
@@ -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 $
.\" $FreeBSD$
.\"
.EH 'USD:4-%''An Introduction to the C shell'
.OH 'An Introduction to the C shell''USD:4-%'
+1 -1
View File
@@ -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 $
.\" $FreeBSD$
.\"
.nr H1 1
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.3 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 2
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.4 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 3
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.a 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.SH
Appendix \- Special characters
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.g 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.SH
Glossary
+1 -1
View File
@@ -30,6 +30,6 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)tabs 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.ta 5n 10n 15n 20n 25n 30n 35n 40n 45n 50n 55n 60n 65n 70n 75n 80n
+1 -1
View File
@@ -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.3 1995/03/19 13:28:10 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)char.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
#include <ctype.h>
+1 -1
View File
@@ -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.3 1995/05/30 00:06:29 rgrimes Exp $
* $FreeBSD$
*/
#ifndef lint
+85 -76
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
.\" $Id: csh.1,v 1.8 1997/02/22 14:01:40 peter Exp $
.\" $FreeBSD$
.\"
.Dd January 21, 1994
.Dt CSH 1
@@ -46,15 +46,15 @@
.Op Fl l
.Sh DESCRIPTION
The
.Nm csh
.Nm
is a command language interpreter
incorporating a history mechanism (see
.Nm History Substitutions ) ,
.Sx History Substitutions ) ,
job control facilities (see
.Nm Jobs ) ,
.Sx Jobs ) ,
interactive file name
and user name completion (see
.Nm File Name Completion ) ,
.Sx File Name Completion ) ,
and a C-like syntax. It is used both as an interactive
login shell and a shell script command processor.
.Ss Argument list processing
@@ -100,7 +100,7 @@ is the only flag specified).
The shell loads
.Pa .cshrc
even if it does not belong to the effective user.
.Xr su 1
.Xr Su 1
can pass
.Fl m
to the shell.
@@ -116,16 +116,16 @@ A
may be used to escape the newline at the end of this
line and continue onto another line.
.It Fl v
Causes the
Cause the
.Ar verbose
variable to be set, with the effect
that command input is echoed after history substitution.
.It Fl x
Causes the
Cause the
.Ar echo
variable to be set, so that commands are echoed immediately before execution.
.It Fl V
Causes the
Cause the
.Ar verbose
variable to be set even before
.Pa .cshrc
@@ -157,7 +157,7 @@ Remaining arguments initialize the variable
.Ar argv .
.Pp
An instance of
.Nm csh
.Nm
begins by executing commands from the file
.Pa /etc/csh.cshrc
and,
@@ -256,7 +256,7 @@ showing that the job which was started asynchronously was job number
1 and had one (top-level) process, whose process id was 1234.
.Pp
If you are running a job and wish to do something else you may hit the key
.Nm ^Z
.Em ^Z
(control-Z) which sends a STOP signal to the current job.
The shell will then normally show that the job has been `Stopped',
and print another prompt. You can then manipulate the state of this job,
@@ -271,11 +271,11 @@ the
command
.Ar fg .
A
.Nm ^Z
.Em ^Z
takes effect immediately and
is like an interrupt in that pending output and unread input are discarded
when it is typed. There is another special key
.Nm ^Y
.Em ^Y
that does not generate a STOP signal until a program attempts to
.Xr read 2
it.
@@ -353,7 +353,7 @@ the shell variable
.Ar filec
(see
.Ic set ) ,
.Nm csh
.Nm
will
interactively complete file names and user names from unique
prefixes, when they are input from the terminal followed by
@@ -370,7 +370,7 @@ and the input is
.Pp
.Dl % vi ch<escape>
.Pp
.Nm csh
.Nm
will complete the prefix ``ch''
to the only matching file name ``chaosnet'', changing the input
line to
@@ -381,7 +381,7 @@ However, given
.Pp
.Dl % vi D<escape>
.Pp
.Nm csh
.Nm
will only expand the input to
.Pp
.Dl % vi DSC.
@@ -391,7 +391,7 @@ incomplete, since there are two file names matching the prefix ``D''.
.Pp
If a partial file name is followed by the end-of-file character
(usually control-D), then, instead of completing the name,
.Nm csh
.Nm
will list all file names matching the prefix. For example,
the input
.Pp
@@ -455,7 +455,7 @@ in the previous command with little typing and a high degree of confidence.
History substitutions begin with the character `!' and may begin
.Ar anywhere
in the input stream (with the proviso that they
.Nm "do not"
.Em "do not"
nest.)
This `!' may be preceded by a `\e' to prevent its special meaning; for
convenience, an `!' is passed unchanged when it is followed by a blank,
@@ -631,7 +631,7 @@ Strings enclosed in `"' may be expanded as described below.
.Pp
In both cases the resulting text becomes (all or part of) a single word;
only in one special case (see
.Em Command Substitution
.Sx Command Substitution
below) does a `"' quoted string yield parts of more than one word;
`\'' quoted strings never do.
.Ss Alias substitution
@@ -708,7 +708,7 @@ occurs, and within `\''s where it
.Em never
occurs.
Strings quoted by `\*(ga' are interpreted later (see
.Nm "Command substitution"
.Sx "Command substitution"
below) so `$' substitution does not occur there until later, if at all.
A `$' is passed unchanged if followed by a blank, tab, or end-of-line.
.Pp
@@ -764,11 +764,11 @@ It is not an error for a range to be empty if the second argument is omitted
or in range.
.It $#name
.It ${#name}
Gives the number of words in the variable.
Give the number of words in the variable.
This is useful for later use in a
`$argv[selector]'.
.It $0
Substitutes the name of the file from which command input is being read.
Substitute the name of the file from which command input is being read.
An error occurs if the name is not known.
.It $number
.It ${number}
@@ -788,16 +788,16 @@ The following substitutions may not be modified with `:' modifiers.
.Bl -tag -width Ds -compact -offset indent
.It $?name
.It ${?name}
Substitutes the string `1' if name is set, `0' if it is not.
Substitute the string `1' if name is set, `0' if it is not.
.It $?0
Substitutes `1' if the current input filename is known, `0' if it is not.
Substitute `1' if the current input filename is known, `0' if it is not.
.It \&$\&$\&
Substitute the (decimal) process number of the (parent) shell.
.It $!
Substitute the (decimal) process number of the last background process
started by this shell.
.It $<
Substitutes a line from the standard
Substitute a line from the standard
input, with no further interpretation.
It can be used to read from the keyboard in a shell script.
.El
@@ -922,7 +922,7 @@ is expanded in the same way as `<' input filenames are.
.It >>& name
.It >>! name
.It >>&! name
Uses file
Use file
.Ar name
as the standard output;
like `>' but places output at the end of the file.
@@ -961,11 +961,11 @@ Several of the builtin commands (to be described later)
take expressions, in which the operators are similar to those of C, with
the same precedence.
These expressions appear in the
.Nm @,
.Ar exit ,
.Ar if ,
.Em @ ,
.Em exit ,
.Em if ,
and
.Ar while
.Em while
commands.
The following operators are available:
.Bd -ragged -offset indent
@@ -1076,7 +1076,7 @@ or
.Ar unalias .
.Pp
.It Ic alloc
Shows the amount of dynamic memory acquired, broken down into used and
Show the amount of dynamic memory acquired, broken down into used and
free memory.
With an argument shows the number of free and used blocks in each size
category. The categories start at size 8 and double at each step.
@@ -1085,11 +1085,11 @@ systems other than the VAX may use a different memory allocator.
.Pp
.It Ic bg
.It Ic bg \&% Ns Ar job ...
Puts the current or specified jobs into the background, continuing them
Put the current or specified jobs into the background, continuing them
if they were stopped.
.Pp
.It Ic break
Causes execution to resume after the
Cause execution to resume after the
.Ic end
of the nearest enclosing
.Ic foreach
@@ -1099,7 +1099,7 @@ The remaining commands on the current line are executed.
Multi-level breaks are thus possible by writing them all on one line.
.Pp
.It Ic breaksw
Causes a break from a
Cause a break from a
.Ic switch ,
resuming after the
.Ic endsw .
@@ -1137,7 +1137,7 @@ or
The rest of the commands on the current line are executed.
.Pp
.It Ic default :
Labels the default case in a
Label the default case in a
.Ic switch
statement.
The default should come after all
@@ -1145,7 +1145,7 @@ The default should come after all
labels.
.Pp
.It Ic dirs
Prints the directory stack; the top of the stack is at the left,
Print the directory stack; the top of the stack is at the left,
the first directory in the stack being the current directory.
.Pp
.It Ic echo Ar wordlist
@@ -1192,7 +1192,7 @@ variable (first form) or with the value of the specified
.Pp
.It Ic fg
.It Ic fg % Ns Ar job ...
Brings the current or specified jobs into the foreground, continuing them if
Bring the current or specified jobs into the foreground, continuing them if
they were stopped.
.Pp
.It Ic foreach Ar name (wordlist)
@@ -1252,7 +1252,7 @@ that does not begin with a `/'.
.It Ic history Ar n
.It Ic history Fl r Ar n
.It Ic history Fl h Ar n
Displays the history event list; if
Display the history event list; if
.Ar n
is given only the
.Ar n
@@ -1324,7 +1324,7 @@ must appear alone on its input line or after an
.Pp
.It Ic jobs
.It Ic jobs Fl l
Lists the active jobs; the
List the active jobs; the
.Fl l
option lists process id's in addition to the normal information.
.Pp
@@ -1332,10 +1332,10 @@ option lists process id's in addition to the normal information.
.It Ic kill Ar pid
.It Ic kill Fl sig Ar pid ...
.It Ic kill Fl l
Sends either the TERM (terminate) signal or the
Send either the TERM (terminate) signal or the
specified signal to the specified jobs or processes.
Signals are either given by number or by names (as given in
.Pa /usr/include/signal.h,
.Pa /usr/include/signal.h ,
stripped of the prefix ``SIG'').
The signal names are listed by ``kill \-l''.
There is no default, just saying `kill' does not
@@ -1349,7 +1349,7 @@ then the job or process will be sent a CONT (continue) signal as well.
.It Ic limit Fl h
.It Ic limit Fl h Ar resource
.It Ic limit Fl h Ar resource maximum-use
Limits the consumption by the current process and each process
Limit the consumption by the current process and each process
it creates to not individually exceed
.Ar maximum-use
on the
@@ -1405,7 +1405,7 @@ of the names suffice.
.Pp
.It Ic login
Terminate a login shell, replacing it with an instance of
.Pa /usr/bin/login.
.Pa /usr/bin/login .
This is one way to log off, included for compatibility with
.Xr sh 1 .
.Pp
@@ -1448,7 +1448,7 @@ All processes detached with `&' are effectively
.Pp
.It Ic notify
.It Ic notify % Ns Ar job ...
Causes the shell to notify the user asynchronously when the status of the
Cause the shell to notify the user asynchronously when the status of the
current or specified jobs change; normally notification is presented
before a prompt. This is automatic if the shell variable
.Ic notify
@@ -1478,7 +1478,7 @@ are disabled (/etc/csh.cshrc, /etc/csh.login).
.Pp
.It Ic popd
.It Ic popd Ar +n
Pops the directory stack, returning to the new top directory.
Pop the directory stack, returning to the new top directory.
With an argument
.Ns \`+ Ar n Ns \'
discards the
@@ -1511,7 +1511,7 @@ stack around to be the top element and changes to it. The members
of the directory stack are numbered from the top starting at 0.
.Pp
.It Ic rehash
Causes the internal hash table of the contents of the directories in
Cause the internal hash table of the contents of the directories in
the
.Ic path
variable to be recomputed. This is needed if new commands are added
@@ -1589,7 +1589,7 @@ The most commonly used environment variables
and
.Ev PATH
are automatically imported to and exported from the
.Nm csh
.Nm
variables
.Ar user ,
.Ar term ,
@@ -1625,19 +1625,21 @@ commands.
Normally input during
.Ic source
commands is not placed on the history list;
the \-h option causes the commands to be placed on the
the
.Fl h
option causes the commands to be placed on the
history list without being executed.
.Pp
.It Ic stop
.It Ic stop % Ns Ar job ...
Stops the current or specified jobs that are executing in the background.
Stop the current or specified jobs that are executing in the background.
.Pp
.It Ic suspend
Causes the shell to stop in its tracks, much as if it had been sent a stop
Cause the shell to stop in its tracks, much as if it had been sent a stop
signal with
.Ic ^Z .
.Em ^Z .
This is most often used to stop shells started by
.Xr su 1 .
.Xr su 1 .
.Pp
.It Ic switch Ar (string)
.It Ic case Ar str1 :
@@ -1699,7 +1701,7 @@ is disabled.
.It Ic unlimit Ar resource
.It Ic unlimit Fl h
.It Ic unlimit Fl h Ar resource
Removes the limitation on
Remove the limitation on
.Ar resource .
If no
.Ar resource
@@ -1718,7 +1720,7 @@ It is not an error for nothing to be
.Ic unset .
.Pp
.It Ic unsetenv Ar pattern
Removes all variables whose name match the specified pattern from the
Remove all variables whose name match the specified pattern from the
environment. See also the
.Ic setenv
command above and
@@ -1730,7 +1732,7 @@ If the shell is interactive, then an interrupt can disrupt the wait.
After the interrupt, the shell prints names and job numbers of all jobs
known to be outstanding.
.It Ic which Ar command
Displays the resolved command that will be executed by the shell.
Display the resolved command that will be executed by the shell.
.Pp
.It Ic while Ar (expr)
.It \&...
@@ -1755,10 +1757,10 @@ Prompting occurs here the first time through the loop as for the
statement if the input is a terminal.
.Pp
.It Ic % Ns Ar job
Brings the specified job into the foreground.
Bring the specified job into the foreground.
.Pp
.It Ic % Ns Ar job Ic &
Continues the specified job in the background.
Continue the specified job in the background.
.Pp
.It Ic @
.It Ic @ Ar name Ns = Ns expr
@@ -1831,7 +1833,7 @@ is likewise handled; it is not
necessary to worry about its setting other than in the file
.Ar \&.cshrc
as inferior
.Nm csh
.Nm
processes will import the definition of
.Ar path
from the environment, and re-export it if you then change it.
@@ -1842,7 +1844,7 @@ positional parameters are substituted, i.e., `$1' is replaced by
`$argv[1]',
etc.
.It Ic cdpath
Gives a list of alternate directories searched to find subdirectories
Give a list of alternate directories searched to find subdirectories
in
.Ar chdir
commands.
@@ -1910,10 +1912,9 @@ files are not accidentally destroyed, and that `>>' redirections
refer to existing files.
.It Ic noglob
If set, filename expansion is inhibited.
This inhibition is most useful in shell scripts that
are not dealing with filenames,
or after a list of filenames has been obtained and further expansions
are not desirable.
This inhibition is most useful in shell scripts that are not dealing with
filenames, or after a list of filenames has been obtained and further
expansions are not desirable.
.It Ic nonomatch
If set, it is not an error for a filename expansion to not match any
existing files; instead the primitive pattern is returned.
@@ -1981,7 +1982,7 @@ If it terminated abnormally, then 0200 is added to the status.
Builtin commands that fail return exit status `1',
all other builtin commands set status to `0'.
.It Ic time
Controls automatic timing of commands.
Control automatic timing of commands.
If set, then any command that takes more than this many cpu seconds
will cause a line giving user, system, and real times and a utilization
percentage which is the ratio of user plus system times to real time
@@ -2080,27 +2081,35 @@ signal; otherwise this signal is passed on to children from the state in the
shell's parent.
Interrupts are not allowed when a login shell is reading the file
.Pa \&.logout .
.Sh AUTHOR
William Joy.
Job control and directory stack features first implemented by J.E. Kulp of
IIASA, Laxenburg, Austria,
.Sh AUTHORS
.An William Joy .
.Pp
Job control and directory stack features first implemented by
.An J.E. Kulp
of IIASA, Laxenburg, Austria,
with different syntax than that used now.
File name completion code written by Ken Greer, HP Labs.
Eight-bit implementation Christos S. Zoulas, Cornell University.
.Pp
File name completion code written by
.An Ken Greer ,
HP Labs.
.Pp
Eight-bit implementation
.An Christos S. Zoulas ,
Cornell University.
.Sh FILES
.Bl -tag -width /etc/passwd -compact
.It Pa ~/.cshrc
Read at beginning of execution by each shell.
read at beginning of execution by each shell.
.It Pa ~/.login
Read by login shell, after `.cshrc' at login.
read by login shell, after `.cshrc' at login.
.It Pa ~/.logout
Read by login shell, at logout.
read by login shell, at logout.
.It Pa /bin/sh
Standard shell, for shell scripts not starting with a `#'.
standard shell, for shell scripts not starting with a `#'.
.It Pa /tmp/sh*
Temporary file for `<<'.
temporary file for `<<'.
.It Pa /etc/passwd
Source of home directories for `~name'.
source of home directories for `~name'.
.El
.Sh LIMITATIONS
Word lengths \-
+6 -6
View File
@@ -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.6.2.1 1997/08/24 21:41:29 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -525,7 +525,7 @@ notty:
{
int osetintr = setintr;
sig_t oparintr = parintr;
sigset_t omask = sigblock(sigmask(SIGINT));
int omask = sigblock(sigmask(SIGINT));
setintr = 0;
parintr = SIG_IGN; /* Disable onintr */
@@ -696,7 +696,7 @@ srcunit(unit, onlyown, hflg)
bool otell = cantell;
struct Bin saveB;
volatile sigset_t omask;
volatile int omask;
jmp_buf oldexit;
/* The (few) real local variables */
@@ -932,9 +932,9 @@ pintr1(wantnl)
bool wantnl;
{
Char **v;
sigset_t omask;
int omask;
omask = sigblock((sigset_t) 0);
omask = sigblock(0);
if (setintr) {
(void) sigsetmask(omask & ~sigmask(SIGINT));
if (pjobs) {
@@ -1004,7 +1004,7 @@ process(catch)
* Interruptible during interactive reads
*/
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
/*
* For the sake of reset()
+1 -1
View File
@@ -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 $
* $FreeBSD$
*/
/*
+3 -5
View File
@@ -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.4 1995/06/18 14:34:48 ache Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -702,8 +702,7 @@ dcanon(cp, p)
*/
*--sp = 0; /* form the pathname for readlink */
if (sp != cp && !adrof(STRignore_symlinks) &&
(cc = readlink(short2str(cp), tlink,
sizeof tlink)) >= 0) {
(cc = readlink(short2str(cp), tlink, sizeof(tlink) - 1)) >= 0) {
(void) Strcpy(link, str2short(tlink));
link[cc] = '\0';
@@ -787,8 +786,7 @@ dcanon(cp, p)
if (sp != cp && adrof(STRchase_symlinks) &&
!adrof(STRignore_symlinks) &&
(cc = readlink(short2str(cp), tlink,
sizeof tlink)) >= 0) {
(cc = readlink(short2str(cp), tlink, sizeof(tlink) - 1)) >= 0) {
(void) Strcpy(link, str2short(tlink));
link[cc] = '\0';
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)dir.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+14 -6
View File
@@ -30,13 +30,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: dol.c,v 1.3 1995/05/30 00:06:31 rgrimes Exp $
* $FreeBSD$
*/
#ifndef lint
static char sccsid[] = "@(#)dol.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/times.h>
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
@@ -847,13 +848,20 @@ heredoc(term)
Char **vp;
bool quoted;
char *tmp;
struct timeval tv;
if (creat(tmp = short2str(shtemp), 0600) < 0)
stderror(ERR_SYSTEM, tmp, strerror(errno));
(void) close(0);
if (open(tmp, O_RDWR) < 0) {
again:
tmp = short2str(shtemp);
if (open(tmp, O_RDWR|O_CREAT|O_TRUNC|O_EXCL, 0600) < 0) {
int oerrno = errno;
if (errno == EEXIST) {
if (unlink(tmp) == -1) {
(void) gettimeofday(&tv, NULL);
shtemp = Strspl(STRtmpsh, putn((((int)tv.tv_sec) ^
((int)tv.tv_usec) ^ ((int)getpid())) & 0x00ffffff));
}
goto again;
}
(void) unlink(tmp);
errno = oerrno;
stderror(ERR_SYSTEM, tmp, strerror(errno));
+1 -1
View File
@@ -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.8.1 1997/08/24 21:41:31 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
+2 -2
View File
@@ -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.4 1995/06/18 14:20:16 ache Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -193,7 +193,7 @@ doexec(v, t)
* We must do this AFTER any possible forking (like `foo` in glob) so that
* this shell can still do subprocesses.
*/
(void) sigsetmask((sigset_t) 0);
(void) sigsetmask(0);
/*
* If no path, no words in path, or a / in the filename then restrict the
* command search.
+1 -1
View File
@@ -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 $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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 $
* $FreeBSD$
*/
#include <sys/cdefs.h>
+1 -1
View File
@@ -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.4.2.1 1997/08/24 21:41:33 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
+5 -5
View File
@@ -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.5 1996/08/11 23:10:38 ache Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -507,7 +507,7 @@ preread()
{
whyles->w_end.type = I_SEEK;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
search(T_BREAK, 0, NULL); /* read the expression in */
if (setintr)
@@ -565,7 +565,7 @@ dorepeat(v, kp)
struct command *kp;
{
int i;
sigset_t omask = 0;
int omask = 0;
i = getn(v[1]);
if (setintr)
@@ -907,7 +907,7 @@ xecho(sep, v)
int nonl = 0;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
v++;
if (*v == 0)
return;
@@ -955,7 +955,7 @@ dosetenv(v, t)
Char **ep;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
for (ep = STR_environ; *ep; ep++)
(void) fprintf(cshout, "%s\n", vis_str(*ep));
return;
+1 -1
View File
@@ -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.6 1996/10/31 07:22:48 ache Exp $
* $FreeBSD$
*/
#ifndef lint
+2 -2
View File
@@ -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 $
* $FreeBSD$
*/
#ifndef lint
@@ -127,7 +127,7 @@ dohist(v, t)
if (getn(value(STRhistory)) == 0)
return;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
while (*++v && **v == '-') {
Char *vp = *v;
+1 -1
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.4 1995/08/10 05:13:42 ache Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.3 1996/09/28 14:32:01 bde Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.3 1995/05/30 00:06:37 rgrimes Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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 $
* $FreeBSD$
*/
#define _PATH_BIN "/bin"
+10 -10
View File
@@ -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.8.1 1997/08/24 21:41:37 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -205,7 +205,7 @@ pnote()
{
struct process *pp;
int flags;
sigset_t omask;
int omask;
neednote = 0;
for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) {
@@ -228,7 +228,7 @@ void
pwait()
{
struct process *fp, *pp;
sigset_t omask;
int omask;
/*
* Here's where dead procs get flushed.
@@ -259,7 +259,7 @@ pjwait(pp)
{
struct process *fp;
int jobflags, reason;
sigset_t omask;
int omask;
while (pp->p_pid != pp->p_jobid)
pp = pp->p_friends;
@@ -348,7 +348,7 @@ dowait(v, t)
struct command *t;
{
struct process *pp;
sigset_t omask;
int omask;
pjobs++;
omask = sigblock(sigmask(SIGCHLD));
@@ -356,7 +356,7 @@ loop:
for (pp = proclist.p_next; pp; pp = pp->p_next)
if (pp->p_pid && /* pp->p_pid == pp->p_jobid && */
pp->p_flags & PRUNNING) {
(void) sigpause((sigset_t) 0);
(void) sigpause(0);
goto loop;
}
(void) sigsetmask(omask);
@@ -1003,7 +1003,7 @@ pkill(v, signum)
struct process *pp, *np;
int jobflags = 0;
int pid, err1 = 0;
sigset_t omask;
int omask;
Char *cp;
omask = sigmask(SIGCHLD);
@@ -1087,7 +1087,7 @@ pstart(pp, foregnd)
int foregnd;
{
struct process *np;
sigset_t omask;
int omask;
long jobflags = 0;
omask = sigblock(sigmask(SIGCHLD));
@@ -1233,7 +1233,7 @@ pfork(t, wanttty)
int pid;
bool ignint = 0;
int pgrp;
sigset_t omask;
int omask;
/*
* A child will be uninterruptible only under very special conditions.
@@ -1330,7 +1330,7 @@ void
pgetty(wanttty, pgrp)
int wanttty, pgrp;
{
sigset_t omask = 0;
int omask = 0;
/*
* christos: I am blocking the tty signals till I've set things
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+4 -4
View File
@@ -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.3 1995/05/30 00:06:37 rgrimes Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -70,9 +70,9 @@ execute(t, wanttty, pipein, pipeout)
int pid = 0;
int pv[2];
static sigset_t csigmask;
static int csigmask;
static sigset_t ocsigmask;
static int ocsigmask;
static int onosigchld = 0;
static int nosigchld = 0;
@@ -226,7 +226,7 @@ execute(t, wanttty, pipein, pipeout)
else {
int ochild, osetintr, ohaderr, odidfds;
int oSHIN, oSHOUT, oSHERR, oOLDSTD, otpgrp;
sigset_t omask;
int omask;
/*
* Prepare for the vfork by saving everything that the child
+2 -2
View File
@@ -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.4 1995/07/07 23:13:11 ache Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -819,7 +819,7 @@ plist(p)
int len;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
for (;;) {
while (p->v_left)
+1 -1
View File
@@ -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.3 1995/05/30 00:06:39 rgrimes Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.5 1995/05/30 00:06:40 rgrimes Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.2 1994/09/24 02:54:33 davidg Exp $
# $FreeBSD$
PROG= date
SRCS= date.c netdate.c vary.c
+16 -16
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $Id: date.1,v 1.8.2.6 1997/10/03 12:54:28 danny Exp $
.\" $FreeBSD$
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -52,7 +52,7 @@
.Op Fl f Ar fmt Ar date | [[[[yy]mm]dd]HH]MM[\&.ss]
.Op Cm + Ns Ar format
.Sh DESCRIPTION
.Nm
.Nm Date
displays the current date and time when invoked without arguments.
Providing arguments will format the date and time in a user-defined
way or set the date.
@@ -84,12 +84,12 @@ is used to synchronize the clocks on groups of machines.
By default, if
.Xr timed
is running,
.Nm date
.Nm
will set the time on all of the machines in the local group.
The
.Fl n
option stops
.Nm date
.Nm
from setting the time for other than the current machine.
.It Fl r
Print out the date and time in
@@ -112,14 +112,14 @@ Adjust the minute, hour, month day, week day, month or year according to
.Ar val .
If
.Ar val
is preceeded with a plus or minus sign, the date is adjusted forwards
is preceded with a plus or minus sign, the date is adjusted forwards
or backwards according to the remaining string, otherwise the relevant
part of the date is set. The date can be adjusted as many times as
required using these flags. Flags are processed in the order given.
.Pp
Minutes are in the range 0-59, hours are in the range 1-12, month days
are in the range 1-31, week days are in the range 0-6 (sun-sat), months
are in the range 1-12 (jan-dec) and years are in the range 80-38 or
are in the range 1-31, week days are in the range 0-6 (Sun-Sat), months
are in the range 1-12 (Jan-Dec) and years are in the range 80-38 or
1980-2038.
.Pp
If
@@ -183,7 +183,7 @@ and years are handled automatically.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
date "+DATE: 19%y-%m-%d%nTIME: %H:%M:%S"
date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S"
.Ed
.Pp
will display:
@@ -219,7 +219,7 @@ The command:
date -v1d -v+1m -v-1d -v-fri
.Ed
.Pp
will display the last friday of the month:
will display the last Friday of the month:
.Bd -literal -offset indent
Fri Aug 29 04:31:11 BST 1997
.Ed
@@ -242,7 +242,7 @@ date 1432
sets the time to
.Li "2:32 PM" ,
without modifying the date.
.Sh ENVIRONMENT VARIABLES
.Sh ENVIRONMENT
The execution of
.Nm
is affected by the following environment variables:
@@ -250,7 +250,7 @@ is affected by the following environment variables:
.It Ev TZ
The timezone to use when displaying dates.
The normal format is a pathname relative to
.Dq Pa /usr/share/zoneinfo .
.Pa /usr/share/zoneinfo .
For example, the command
.Dq TZ=America/Los_Angeles date
displays the current time in California.
@@ -261,9 +261,9 @@ for more information.
.Sh FILES
.Bl -tag -width /var/log/messages -compact
.It Pa /var/log/wtmp
A record of date resets and time changes.
a record of date resets and time changes
.It Pa /var/log/messages
A record of the user setting the time.
a record of the user setting the time
.El
.Sh SEE ALSO
.Xr gettimeofday 2 ,
@@ -285,14 +285,14 @@ Occasionally, when
synchronizes the time on many hosts, the setting of a new time value may
require more than a few seconds.
On these occasions,
.Nm date
.Nm
prints:
.Ql Network time being set .
The message
.Ql Communication error with timed
occurs when the communication
between
.Nm date
.Nm
and
.Xr timed
fails.
@@ -313,7 +313,7 @@ will be running on
.Tn GMT .
.Sh STANDARDS
The
.Nm date
.Nm
command is expected to be compatible with
.St -p1003.2 .
.Sh HISTORY
+1 -1
View File
@@ -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.7.2.6 1997/10/03 12:54:30 danny Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
int netsettime __P((time_t));
+1 -1
View File
@@ -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.3.6.1 1997/03/10 19:51:16 guido Exp $
* $FreeBSD$
*/
#ifndef lint
+3 -3
View File
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#include <time.h>
@@ -38,8 +38,8 @@ struct trans {
static struct trans trans_mon[] = {
{ 1, "january" }, { 2, "february" }, { 3, "march" }, { 4, "april" },
{ 6, "june" }, { 7, "july" }, { 8, "august" }, { 9, "september" },
{ 10, "october" }, { 11, "november" }, { 12, "december" },
{ 5, "may" }, { 6, "june" }, { 7, "july" }, { 8, "august" },
{ 9, "september" }, { 10, "october" }, { 11, "november" }, { 12, "december" },
{ -1, NULL }
};
+1 -1
View File
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
struct vary {
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
+1 -1
View File
@@ -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.8.2 1997/08/24 21:45:26 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.8.1 1996/11/21 16:30:30 phk Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.3 1995/01/17 23:04:28 ache Exp $
* $FreeBSD$
*/
#ifndef lint
+9 -9
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dd.1 8.2 (Berkeley) 1/13/94
.\" $Id: dd.1,v 1.2.8.2 1997/08/24 21:45:30 jkh Exp $
.\" $FreeBSD$
.\"
.Dd January 13, 1994
.Dt DD 1
@@ -52,7 +52,7 @@ Input data is read and written in 512-byte blocks.
If input reads are short, input from multiple reads are aggregated
to form the output block.
When finished,
.Nm dd
.Nm
displays the number of complete and partial input and output blocks
and truncated input records to the standard error output.
.Pp
@@ -237,7 +237,7 @@ will be positioned past the block in which the error occurred using
Do not truncate the output file.
This will preserve any blocks in the output file not explicitly written
by
.Nm dd .
.Nm Ns .
The
.Cm notrunc
value is not supported for tapes.
@@ -287,7 +287,7 @@ in an integer, respectively.
Two or more numbers may be separated by an ``x'' to indicate a product.
.Pp
When finished,
.Nm dd
.Nm
displays the number of complete and partial input and output blocks,
truncated input records and odd-length byte-swapping blocks to the
standard error output.
@@ -310,7 +310,7 @@ This means that the final output block may be shorter than the output
block size.
.Pp
If
.Nm dd
.Nm
receives a
.Dv SIGINFO
(see the ``status'' argument for
@@ -319,17 +319,17 @@ signal, the current input and output block counts will
be written to the standard error output
in the same format as the standard completion message.
If
.Nm dd
.Nm
receives a
.Dv SIGINT
signal, the current input and output block counts will
be written to the standard error output
in the same format as the standard completion message and
.Nm dd
.Nm
will exit.
.Pp
The
.Nm dd
.Nm
utility exits 0 on success and >0 if an error occurred.
.Sh SEE ALSO
.Xr cp 1 ,
@@ -337,7 +337,7 @@ utility exits 0 on success and >0 if an error occurred.
.Xr tr 1
.Sh STANDARDS
The
.Nm dd
.Nm
utility is expected to be a superset of the
.St -p1003.2
standard.
+1 -1
View File
@@ -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.5.2.4 1998/01/09 09:13:06 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
* $Id: dd.h,v 1.2.8.2 1998/02/11 02:24:40 asami Exp $
* $FreeBSD$
*/
/* Input/output stream state. */
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.3 (Berkeley) 4/2/94
* $Id$
* $FreeBSD$
*/
#include <sys/cdefs.h>
+5 -4
View File
@@ -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.8.3 1998/02/11 02:24:41 asami Exp $
* $FreeBSD$
*/
#ifndef lint
@@ -100,9 +100,10 @@ summaryx(notused)
/* ARGSUSED */
void
terminate(notused)
int notused;
terminate(sig)
int sig;
{
exit(0);
/* XXX exit() shouldn't call exit() from a signal handler. */
exit(sig == 0 ? 0 : 1);
}
+1 -1
View File
@@ -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 $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.2 (Berkeley) 4/1/94
# $Id$
# $FreeBSD$
PROG= df
BINGRP= operator
+32 -25
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)df.1 8.2 (Berkeley) 1/13/94
.\" $Id: df.1,v 1.4.2.2 1997/09/19 06:18:10 charnier Exp $
.\" $FreeBSD$
.\"
.Dd January 13, 1994
.Dt DF 1
@@ -40,7 +40,7 @@
.Nd display free disk space
.Sh SYNOPSIS
.Nm df
.Op Fl ink
.Op Fl ikn
.Op Fl t Ar type
.Op Ar file | Ar filesystem ...
.Sh DESCRIPTION
@@ -72,31 +72,37 @@ This option should be used if it is possible that one or more
filesystems are in a state such that they will not be able to provide
statistics without a long delay.
When this option is specified,
.Nm df
.Nm
will not request new statistics from the filesystems, but will respond
with the possibly stale statistics that were previously obtained.
.It Fl t
Only print out statistics for filesystems of the specified types.
The recognized types are:
ufs, nfs, mfs, lfs, msdos, fdesc, portal, kernfs, procfs, afs, isofs,
iso9660fs, cdfs, and cd9660,
along with the aggregates:
all (the default),
local (ufs, mfs, lfs, msdos, cd9660),
and misc (fdesc, portal, kernfs, procfs).
The names isofs, iso9660fs, cdfs, and cd9660 are aliases to each other
all of them refering to the same type of file system.
The string ``no'' may be prepending to a type to get its complement
(e.g. ``nonfs'' to get non-NFS filesystems). The first
.Fl t
option overrides the default, additional such options will add to
(or subtract from) the current set of types; e.g. either
``df -t ufs -t lfs''
or
``df -t local -t nomfs''
will display statistics for UFS and LFS filesystems.
More than one type may be specified in a comma separated list.
The list of filesystem types can be prefixed with
.Dq no
to specify the filesystem types for which action should
.Em not
be taken.
For example, the
.Nm
command:
.Bd -literal -offset indent
df -t nonfs,mfs
.Ed
.Pp
lists all filesystems except those of type
.Tn NFS
and
.Tn MFS .
The
.Xr sysctl 8
command can be used to find out the types of filesystems
that are available on the system:
.Bd -literal -offset indent
sysctl vfs
.Ed
.El
.Sh ENVIRONMENT VARIABLES
.Sh ENVIRONMENT
.Bl -tag -width BLOCKSIZE
.It Ev BLOCKSIZE
If the environment variable
@@ -111,15 +117,16 @@ and
flags are ignored if a file or filesystem is specified.
.Sh SEE ALSO
.Xr quota 1 ,
.Xr statfs 2 ,
.Xr fstatfs 2 ,
.Xr getfsstat 2 ,
.Xr statfs 2 ,
.Xr getmntinfo 3 ,
.Xr fstab 5 ,
.Xr mount 8 ,
.Xr quot 8
.Xr quot 8 ,
.Xr sysctl 8
.Sh HISTORY
A
.Nm df
.Nm
command appeared in
.At v1 .
+1 -1
View File
@@ -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.8.2.1 1996/12/13 17:15:11 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id$
# $FreeBSD$
PROG= domainname
+2 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id: domainname.1,v 1.2 1995/01/14 17:02:33 ats Exp $
.\" $FreeBSD$
.\"
.Dd September 18, 1994
.Dt DOMAINNAME 1
@@ -42,7 +42,7 @@
.Nm domainname
.Op Ar ypdomain
.Sh DESCRIPTION
.Nm domainname
.Nm Domainname
prints the name of the current YP/NIS domain. The super-user can
set the domain name by supplying an argument; this is usually done in the
network initialization script
+1 -1
View File
@@ -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.5 1995/03/19 13:28:17 joerg Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= echo
+4 -4
View File
@@ -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 $
.\" $FreeBSD$
.\"
.Dd July 22, 1993
.Dt ECHO 1
@@ -47,7 +47,7 @@
.Op "string ..."
.Sh DESCRIPTION
The
.Nm echo
.Nm
utility writes any specified operands, separated by single blank (`` '')
characters and followed by a newline (``\en'') character, to the standard
output.
@@ -61,13 +61,13 @@ by iBCS2 compatible systems.
.El
.Pp
The
.Nm echo
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
.Nm echo
.Nm
utility is expected to be
.St -p1003.2
compatible.
+1 -1
View File
@@ -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 $
* $FreeBSD$
*/
#ifndef lint
+4 -4
View File
@@ -1,11 +1,11 @@
# $Id: Makefile,v 1.12 1995/10/03 15:44:50 markm Exp $
# $FreeBSD$
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
CFLAGS+=-DDES
LDADD+= -L${CIPHEROBJDIR} -lcipher
+1 -1
View File
@@ -1,4 +1,4 @@
$Id$
$FreeBSD$
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
View File
@@ -1,4 +1,4 @@
$Id$
$FreeBSD$
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
View File
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
#else
static char * const rcsid =
"$Id: buf.c,v 1.15 1997/12/31 12:25:33 helbig Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)bdes.c 5.5 (Berkeley) 6/27/91
* $Id: cbc.c,v 1.5 1995/03/19 13:28:24 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+439 -547
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
* $Id: ed.h,v 1.8 1994/11/03 21:46:55 davidg Exp $
* $FreeBSD$
*/
#include <sys/param.h> /* for MAXPATHLEN */
+1 -1
View File
@@ -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.3 1995/03/19 13:28:27 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.4 1995/03/19 13:28:32 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.6.2.1 1997/08/24 21:50:21 jkh Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.9 1995/03/19 13:28:36 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -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.5 1995/03/19 13:28:38 joerg Exp $
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 1994/09/24 02:55:35 davidg Exp $
# $FreeBSD$
SHELL= /bin/sh
ED= ${.OBJDIR}/ed
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id$
# $FreeBSD$
The files in this directory with suffixes `.t', `.d', `.r' and `.err' are
used for testing ed. To run the tests, set the ED variable in the Makefile
+1 -1
View File
@@ -3,7 +3,7 @@
# and compares their output against the .r files, which contain
# the correct output
#
# $Id$
# $FreeBSD$
PATH="/bin:/usr/bin:/usr/local/bin/:."
ED=$1
Loaded 100 of 5837 files, more files were not shown because too many files have changed in this diff. Show more