summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Add end of line check so mkinit doesn't produce garbage if you have apst1994-11-061-2/+2
| | | | | | | | MKINIT line that doesn't have a comment on it (we have at least two). This mkinit program was written by someone who obviously doesn't believe in defensive programming. :-( There's a LOT of work that needs to be done on this thing. :-( :-( :-(
* Get this braindead, mongoloid shell look in /stand for pwd if it can'tjkh1994-11-061-3/+8
| | | | | | | | | | find it in /bin. This is something of a kludge, I know, but consider my limited alternatives: I can't make this an execvp() without making people scream that I introduced a failure point or slowed down pwd, and I can't make it an optional macro since crunch doesn't let you pass arbitrary command-line args to the build of one of its crunch-ees. This is the simplest, if not the nicest looking, solution I could come up with.
* Fix group permissions check for group list size > 1ache1994-11-051-3/+13
| | | | Pointed by Bruce
* Fix root -w case according to manpage (-x & -r cases already accords)ache1994-11-051-4/+7
| | | | Pointed by Bruce.
* Cosmetique, missing tab/spaces after patchache1994-11-051-6/+6
|
* More complex implementation of previos superuser fixache1994-11-051-2/+10
| | | | because rw and x bit treats differently infact
* test produce wrong results for superuser, i.e. tellsache1994-11-051-2/+2
| | | | that file is unreadable when it is readable infact.
* Nuked #ifdef __386BSD__ since this is not appropriate and no longer defineddg1994-11-031-4/+2
| | | | in our 2.6.1 gcc port.
* Don't check existence of -lcrypt to decide if DES is employed,phk1994-10-291-2/+2
| | | | instead check that "NOCRYPT" isn't defined.
* Use kvm_uread instead of kvm_read to access the upages.dg1994-10-181-2/+3
|
* Back out ctype fix, unneded with new ctypeache1994-10-091-2/+2
|
* Skip 'cua' 3 chars like 'tty' 3 charsache1994-10-021-2/+3
|
* On second thought...back out previous commit.dg1994-10-024-9/+5
|
* Include rtprio.hdg1994-10-024-5/+9
|
* libcompat removedache1994-10-021-3/+3
|
* First level of changes for bringing in eBones (kerberos).csgr1994-09-291-5/+13
| | | | | | | | - Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile, and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions, and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY DEFINE ONE OF THESE. - Make Makefiles kerberos-aware.
* Actually implement this correctly.wollman1994-09-261-5/+2
|
* Added $Id$dg1994-09-24259-1/+382
|
* Remove bogus cast that was introduced in the previous commit.bde1994-09-211-1/+1
|
* Remove redundant declarations that were added in the previous commit.bde1994-09-212-6/+1
|
* Make ls ctype-awareache1994-09-211-1/+1
|
* fix ln to accept -f again. Thanks Bruce. Seems that Joe Grosch isn'tphk1994-09-201-1/+1
| | | | | quite as safe as I thought. I will have to look much closer on his patches. Damn.
* Applied patch to make -Wall and -Dlint shut up.phk1994-09-201-2/+4
| | | | | Reviewed by: phk Submitted by: Josef Grosch <joeg@gagme.wwa.com>
* The former patch to sync.c was short-lived. Bruce pointed out thatphk1994-09-201-2/+3
| | | | "Now it is has 2 portability bugs, which is a lot for 5 lines of working code"
* /home/phk/jgphk1994-09-201-2/+2
|
* Applied patch to make -Wall and -Dlint shut up.phk1994-09-205-11/+17
| | | | | Reviewed by: phk Submitted by: Josef Grosch <joeg@gagme.wwa.com>
* Add support for '-k' option to print file allocation space in 'K' instead ofpst1994-09-192-2/+11
| | | | | | | system blocks. This is semi-original code, not the same way this crufty option was handled in FreeBSD 1.x.
* Added domainname.wollman1994-09-181-3/+5
|
* A new domainname(1) command based on hostname(1), this time with a correctwollman1994-09-183-0/+146
| | | | manual page.
* With '!' being made into a keyword (yech!), case cases didn't work properly.sef1994-09-141-11/+13
| | | | | | | | | | This should fix it (passed my test cases). Originally discovered with perl's Configure (well, in FreeBSD, I don't know how the NetBSD folks discovered it). Reviewed by: sef Submitted by: jtc@cygnus.com Obtained from: NetBSD
* Make get_int() think that "" (null) has the integer value 0.csgr1994-09-111-0/+5
| | | | | | (Which is the same behaviour as in 1.x) The install blows up without this. Reviewed by: rgrimes
* - handle signs on integers properly,csgr1994-09-114-2/+28
| | | | | | | | | | - make sure error messages for bad integers are moderately sensible - handle test ! "abc" -o "abc" (This should evaluate to true) (and similar cases) ie: and/or operator test added to POSIX special case processing. - more test cases added. Based on: Work done on 1.x's test(1) by Andrew Moore and Adam David.
* [ From Dave Tweten ]jkh1994-09-081-2/+4
| | | | | | | | | | | | | | | | | POSIX.2 looks pretty unequivocal to me, and it agrees with you. Under the explanation of the "-p" option, it says, "Each dir operand that names an existing directory shall be ignored without error." Under the explanation of exit status zero, it says, "All the specified directories were created successfully, or the-p option was specified and all the specified directories now exist." Seems to me POSIX requires exactly the behavior you want. [ And I've made the change, which is also now compatible with 1.x - jkh ] Reviewed by: jkh Submitted by: jkh/tweten
* Explicitly include <sys/types.h> before including <regex.h>. This isbde1994-09-051-0/+1
| | | | | apparently required by POSIX. It will be required in practice when the bogus inclusion of <sys/types.h> is removed from <stdio.h>.
* Added rtprio option/field.dg1994-09-012-0/+4
| | | | Submitted by: Henrik Vestergaard Draboel
* Add dependencies on libraries to DPADD. Someday this should be donebde1994-08-281-0/+1
| | | | | | automagically. -lfoo has to be right to work, but ${LIBFO0} is too easy to forget or misspell; nothing checks it and it should be different for shared libraries.
* Reviewed by:ats1994-08-281-2/+2
| | | | | | | | Submitted by: Added the FTS_NOCHDIR flag to the fts-open call. This is needed, so that the fts don't change the current directory for rm and subsequent calls to rmdir with relative pathnames don't fail. Pulled over the bugfix in 1.1.5.
* Reviewed by:ats1994-08-281-1/+1
| | | | | Submitted by: Oops, overlooked another typo in this man page.
* Reviewed by:ats1994-08-281-2/+2
| | | | | Submitted by: Correct two typos in the format string usages.
* Touch init.c after making it in case mkinit refused to touch it after notbde1994-08-211-0/+1
| | | | | changing it. mkinit's attempted smartness about timestamps is mismatched with the makefile. init.o is compiled _twice_ the first time it is made...
* Got rid of stupid warning message.dg1994-08-181-11/+1
|
* Got rid of extra space between args and (command).dg1994-08-181-1/+1
|
* The last commit was bogus...the putenv doesn't affect the parent process,dg1994-08-121-10/+3
| | | | | | so the BLOCKSIZE doesn't need to be preserved. Also initialized the flags variables, and used 1k instead of 1024 for BLOCKSIZE.
* Implemented the -k flag more properly...don't destroy the user's settingdg1994-08-121-2/+11
| | | | of the BLOCKSIZE environment variable.
* Make `ps' set-uid root so that it can read the same set of argumentswollman1994-08-111-2/+2
| | | | | | | that old `ps'es did. I'm not too thrilled about this, but I'm not enough of an FS person to hack procfs so that /proc/xxx/mem is readable by members of group `kmem'. If this is done, then `ps' can go back to being set-gid kmem.
* Gimme back my `-k' option!wollman1994-08-102-3/+12
| | | | Also document `-t' option in the usage message.
* WHOOPS! Put that back! Sorry, wrong Makefile.inc!jkh1994-08-081-0/+1
| | | | | | | | [slinks away embarassed]. It's NOSHARED again ("Gee, sorry about that honey! I could have *sworn* the safety was on!"). Reviewed by: Submitted by: jkh
* Removed NOSHARED. "It's safe now, honey."jkh1994-08-081-1/+0
| | | | | Reviewed by: Submitted by: jkh
* The handling of err.h and const.h were in a real tangle and didn'tjkh1994-08-071-7/+1
| | | | | | | work if you didn't explicitly depend first; this should both simplify things and make it work in all circumstances. Reviewed by: Submitted by:
* Fix some dependency bobbles.wollman1994-08-061-0/+2
|
OpenPOWER on IntegriCloud