summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* In accept1(), falloc() is called after the process has awoken, but priorDavid Greenman1997-03-313-12/+28
| | | | | | | | | | | | | | to removing the connection from the queue. The problem here is that falloc() may block and this would allow another process to accept the connection instead. If this happens to leave the queue empty, then the system will panic with an "accept: nothing queued". Also changed a wakeup() to a wakeup_one() to avoid the "thundering herd" problem on new connections in Apache (or any other application that has multiple processes blocked in accept() for the same socket). Notes: svn path=/head/; revision=24442
* Code to do lchown(2), copied from chown(2) except it's NOFOLLOW in ND_INITPeter Wemm1997-03-312-2/+82
| | | | | | | instead of FOLLOW. Notes: svn path=/head/; revision=24441
* RegeneratePeter Wemm1997-03-315-6/+20
| | | | Notes: svn path=/head/; revision=24440
* Reserve 252 (poll, first in OpenBSD)Peter Wemm1997-03-311-1/+4
| | | | | | | | Reserve 253 (issetugid, as in OpenBSD) Allocate 254 for lchown(2) Notes: svn path=/head/; revision=24439
* Treat symlinks as first class citizens with their own uid/gid rather thanPeter Wemm1997-03-314-147/+41
| | | | | | | | | | | | | | | | as shadows of their containing directory. This should solve the problem of users not being able to delete their symlinks from /tmp once and for all. Symlinks do not have modes though, they are accessable to everything that can read the directory (as before). They are made to show this fact at lstat time (they appear as mode 0777 always, since that's how the the lookup routines in the kernel treat them). More commits will follow, eg: add a real lchown() syscall and man pages. Notes: svn path=/head/; revision=24438
* Changed the way that the exec image header is read to be filesystem-David Greenman1997-03-317-45/+44
| | | | | | | | | | centric rather than VM-centric to fix a problem with errors not being detectable when the header is read. Killed exech_map as a result of these changes. There appears to be no performance difference with this change. Notes: svn path=/head/; revision=24437
* This commit was generated by cvs2svn to compensate for changes in r24434,David E. O'Brien1997-03-311-0/+558
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=24435
| * Virgin import of GNU cpio v2.4.2.vendor/misc-GNU/cpio/2.4.2David E. O'Brien1997-03-311-0/+558
| | | | | | | | | | Notes: svn path=/vendor/cpio/dist/; revision=24434 svn path=/vendor/cpio/2.4.2/; revision=24436; tag=vendor/misc-GNU/cpio/2.4.2
* | Small formatting change to interval() to align columns so that:Marc G. Fournier1997-03-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | toronto up 5+18:58, 0 users, load 0.00, 0.00, 0.00 zeus up 109+13:53, 0 users, load 0.55, 0.28, 0.15 looks like: toronto up 5+18:58, 0 users, load 0.00, 0.00, 0.00 zeus up 109+13:53, 0 users, load 0.55, 0.28, 0.15 Notes: svn path=/head/; revision=24433
* | Synchronize with sys/i386/conf/GENERIC revision 1.89.KATO Takenori1997-03-312-6/+6
| | | | | | | | Notes: svn path=/head/; revision=24432
* | Remove ${MAKEFLAGS} on recommendation by Bruce, mainly because the reasonMarc G. Fournier1997-03-311-2/+2
| | | | | | | | | | | | | | | | for adding it was so that -j3 carried through on a make -j3 world, but found at least one circumstance where it breaks 'make depend' Notes: svn path=/head/; revision=24431
* | Remove MAKEFLAGS example from /etc/make.conf...Marc G. Fournier1997-03-313-18/+3
| | | | | | | | | | | | | | | | Bruce points out that it breaks things if someone doesn't do a 'make depend', but I just found out that it breaks 'make depend' itself :( Notes: svn path=/head/; revision=24430
* | Fixed wording of previous change.Bruce Evans1997-03-311-1/+1
| | | | | | | | | | | | | | | | Obtained from: fgets.3 Guided by: ISO C standard Notes: svn path=/head/; revision=24429
* | compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-3175-116/+116
| | | | | | | | | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* | Added my name/address as requested by Wolfram Schneider.John Birrell1997-03-312-2/+7
| | | | | | | | Notes: svn path=/head/; revision=24427
* | Revert my last few changes. They were bogus. Replaced them withWarner Losh1997-03-311-14/+4
| | | | | | | | | | | | | | | | | | | | the original text plus a statement saying that if strftime fails, the results are undefined. Requested a long time ago by: bde Notes: svn path=/head/; revision=24426
* | Catch up with the original.Hiroyuki Hanai1997-03-311-2/+3
| | | | | | | | Notes: svn path=/head/; revision=24425
* | The Unix system family tree, BSD part. This is a local copy ofWolfram Schneider1997-03-311-0/+174
| | | | | | | | | | | | | | http://www.de.freebsd.org/de/ftp/unix-stammbaum Notes: svn path=/head/; revision=24424
* | Add/document MAKEFLAGS into /etc/make.conf, using -j3 as exampleMarc G. Fournier1997-03-303-3/+15
| | | | | | | | Notes: svn path=/head/; revision=24422
* | Add ${MAKEFLAGS} to ${MAKE} in _SUBDIRUSE so that something likeMarc G. Fournier1997-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | 'make -j3 world' works Jordan points out that this may not be the only place this is required to be added, but so far, its the only one I've found to break -j3 Notes: svn path=/head/; revision=24421
* | Use srandomdev() nowAndrey A. Chernov1997-03-301-4/+5
| | | | | | | | | | | | | | Add range checking for invalid denominator values Notes: svn path=/head/; revision=24420
* | Use srandomdev() nowAndrey A. Chernov1997-03-301-5/+10
| | | | | | | | | | | | | | Fix error with begin variable calculation Notes: svn path=/head/; revision=24419
* | Implement the `detach' command for remote GDB. It gets you back at DDB.Joerg Wunsch1997-03-302-0/+16
| | | | | | | | Notes: svn path=/head/; revision=24418
* | Move uucplock into libutil and create a manual page.Brian Somers1997-03-308-16/+123
| | | | | | | | Notes: svn path=/head/; revision=24417
* | JKH says:David E. O'Brien1997-03-301-2/+2
| | | | | | | | | | | | | | | | | | Change "Found end of tape. Load next tape ..." messages to say "volume" instead of tape. Running cpio off of /dev/fd0 and having it say "give me the next tape" is kind of ludicrous.. :-) Notes: svn path=/head/; revision=24416
* | don't lookup rsh(1) at bogus pathnamesDavid E. O'Brien1997-03-301-17/+1
| | | | | | | | | | | | | | Submitted by: joerg via old gnu/usr.bin/cpio v2.3 Notes: svn path=/head/; revision=24415
* | Don't set the umask until after we have processed the argumentsDavid E. O'Brien1997-03-301-1/+11
| | | | | | | | | | | | | | | | | | | | | | and opened the archive file. This allows "cpio -o -O output_file" to create the output file with the callers proper umask. Closed PR# 1391 Add setlocale LC_ALL (from ache). Notes: svn path=/head/; revision=24414
* | Support dummy lchown() so that cpio understands 4.4 symbolic links.David E. O'Brien1997-03-301-0/+5
| | | | | | | | Notes: svn path=/head/; revision=24413
* | - Correct the recommended option for "find" from "-depth" to "-d".David E. O'Brien1997-03-301-3/+5
| | | | | | | | | | | | | | | | | | | | - Fix gross spelling and typographical errors pointed out by Keith Bostic. - Mention -l, --link is only usable with "-p". Obtained from: old gnu/usr.bin/cpio v2.3. Notes: svn path=/head/; revision=24412
* | Output a zero rdev except for bdevs, cdevs, fifos and sockets. ThisDavid E. O'Brien1997-03-301-2/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stops regular files with unrepresentable rdevs from being rejected and makes the output independent of unpreservable metadata. Don't output a file if the major, minor or totality of its rdev would be truncated. Print a message about the skipped files to stderr but don't report the error in the exit status. cpio's abysmal error handling doesn't allow continuing after an error, and the rdev checks had to be misplaced to avoid the problem of returning an error code from routines that return void. Minor numbers are limited to 21 bits in pax's ustar format and to 18 bits in archives created by gnu tar (gnu tar wastes 3 bits for padding). pax's and cpio's ustar format is incompatible with gnu tar's ustar format for other reasons (see cpio/README). Submitted by: bde via old gnu/usr.bin/cpio v2.3. Notes: svn path=/head/; revision=24411
* | Fix typo.David E. O'Brien1997-03-301-1/+1
| | | | | | | | Notes: svn path=/head/; revision=24410
* | Add an example README.FreeBSD. The tcl one you tend to refer to since tclDavid E. O'Brien1997-03-301-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is the example is quite spartan. As pointed out by Bruce there are *three* different filenames being used: cvs FREEBSD.README groff FREEBSD-upgrade libgmp FREEBSD-upgrade libpcap FREEBSD-upgrade tcpdump FREEBSD-upgrade traceroute FREEBSD-upgrade tcl README.FreeBSD The handbook states "README.FreeBSD". Perhaps this should be changed? Notes: svn path=/head/; revision=24409
* | Fix mount call for devfs.Poul-Henning Kamp1997-03-301-2/+1
| | | | | | | | | | | | | | Submitted by: bde Notes: svn path=/head/; revision=24408
* | Fix embarrasing typo that survived because I applied the wrong patch-Poul-Henning Kamp1997-03-302-6/+6
| | | | | | | | | | | | | | | | file. Noticed by: Eric Jones <ejon@psa.pencom.com> Notes: svn path=/head/; revision=24407
* | I goofed, Makefile lchown.c don't belong here.David E. O'Brien1997-03-302-47/+0
| | | | | | | | Notes: svn path=/head/; revision=24406
* | Replace ctime by strftime %c to use national representation.David E. O'Brien1997-03-302-2/+18
| | | | | | | | | | | | | | | | | | Use isprint() for Localization. Submitted by: ache via gnu/usr.bin/cpio v2.3 Notes: svn path=/head/; revision=24405
* | FreeBSD BSD-style Makefile for contributed CPIO source.David E. O'Brien1997-03-291-0/+19
| | | | | | | | Notes: svn path=/head/; revision=24404
* | Rodney Grimes's dummy lchown() so that cpio understands 4.4 symbolic links.David E. O'Brien1997-03-291-0/+27
| | | | | | | | | | | | | | | | | | (taken from old gnu/usr.bin/cpio) Reviewed by: phk Notes: svn path=/head/; revision=24403
* | Don't need tcexparg.c on FreeBSD.David E. O'Brien1997-03-291-1/+3
| | | | | | | | Notes: svn path=/head/; revision=24402
* | Don't need tcexparg.c which impliments Unix-style command line wildcardsDavid E. O'Brien1997-03-291-240/+0
| | | | | | | | | | | | | | for Turbo C Notes: svn path=/head/; revision=24401
* | FreeBSD specific readme for contributed CPIO soruces.David E. O'Brien1997-03-291-0/+13
| | | | | | | | Notes: svn path=/head/; revision=24400
* | This commit was generated by cvs2svn to compensate for changes in r24398,David E. O'Brien1997-03-2942-0/+12345
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=24399
| * Virgin import of GNU cpio v2.4.2.David E. O'Brien1997-03-2944-745/+1648
| | | | | | | | Notes: svn path=/vendor/cpio/dist/; revision=24398
| * Vendor import of virgin GNU cpio v2.3.David E. O'Brien1997-03-2641-0/+11442
| | | | Notes: svn path=/vendor/misc-GNU/dist2/; revision=24304
* Fix broken built-in ELF file handling, caused by missing prototypesJohn Polstra1997-03-292-3/+7
| | | | | | | and use of off_t. Correct the types of Elf64_Addr and Elf64_Off. Notes: svn path=/head/; revision=24397
* Add the "resvport" option, now that FreeBSD NFS servers require it.John Polstra1997-03-291-1/+1
| | | | Notes: svn path=/head/; revision=24396
* back out rev 1.8 (last minute CDROM releases)Wolfram Schneider1997-03-291-6/+0
| | | | Notes: svn path=/head/; revision=24395
* Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.Bill Paul1997-03-292-3/+5
| | | | | | | | | | | | (I'm not sure why this happens, though I suspect it may be because the server is configured with only passwd maps instead of both passwd and master.passwd maps. This is allowed, but I think in this case pw_class is left NULL, hence the problem.) Also applied similar patch to chpass/pw_yp.c just for paranoia's sake. Notes: svn path=/head/; revision=24394
* The text describing exit values >1 was formatted incorrectly.Mike Pritchard1997-03-291-2/+2
| | | | | | | Obtained from: NetBSD-bugs PR# 3406 Notes: svn path=/head/; revision=24391
* Remove orand* code as promised for the next releaseAndrey A. Chernov1997-03-292-20/+4
| | | | Notes: svn path=/head/; revision=24390