summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* tr(1) attempts to convert \n[n][n] sequences into octal digits, but doesn'tjkh2004-11-141-1/+1
| | | | | | | | check to see that a given digit is actually an octal digit. This leads to unusual consequences if passed in values like \9. Reported by: Joseph Davison (OpenDarwin project) MFC after: 1 week
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-134-7/+24
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Removed bitrot.ru2004-11-132-16/+1
|
* If -B is specified to get compat mode (as opposed to just not givingphk2004-11-121-0/+1
| | | | | | a -j arg which does the same thing), remove the MAKE_JOBS_FIFO environment variable so we decouple any resulting sub-makes from the token pool.
* third of several commits to allow kernel System V IPC data structuresrwatson2004-11-121-66/+66
| | | | | | | | | | | | to be modified and extended without breaking the user space ABI: Make the "ipcs" tool, which grubs around in kernel memory to report status relating to System V IPC, use the _kernel variants on the System V IPC data structures. Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research
* Use a relative symlinking so that "tar" also works in /stand.ru2004-11-121-1/+1
|
* Wrap a comment properly.ceri2004-11-121-1/+2
|
* Add code to enforce the paralleism count (-j N) for the entire treephk2004-11-124-31/+119
| | | | | | | | | | | | | | | | | | | | of submakes spawned during processing. We create a fifo and stuff one character into it for each job we are allowed to run. The name of the fifo is passed to child processes in the MAKE_JOBS_FIFO environment variable. A make which finds this variable on startup will open the fifo and only spawn jobs when it managed to read a token from the fifo. When the job completes a token is writen back to the fifo. Slave make processes get one token for free: the one their parent make got in order to run them. This makes the make processes themselves invisible in the process counts. The net effect is that "make -j 12 -s buildworld" will start at most 12 jobs at the same time, instead of as previously up to 65 jobs would get started.
* Fix a (very) long standing bug in make (this has been there probablyharti2004-11-122-29/+102
| | | | | | | | | | from the beginning). Make used to handle all its interrupt-time stuff directly from the signal handler, including calls to printf, accessing global data and so on. This is of course wrong and could provoke a core dump when interrupting make. Just set a flag in the signal handler and do everything else from the main thread. PR: bin/29103
* Get rid of more local/remote leftoversphk2004-11-113-24/+13
|
* Get rid of now unused maxLocal variables.phk2004-11-112-18/+4
|
* This code builds cleanly at WARNS level 6.des2004-11-081-0/+1
| | | | MFC after: 1 week
* filedesc0 is an internal detail of the kernel, don't look at it.phk2004-11-071-13/+9
|
* FreeBSD does have uintmax_t, so it can correctlykientzle2004-11-061-0/+1
| | | | | | print out very large file sizes. Thanks to: Yar Tikhiy
* Now with the remote job support removed there can be no remote jobs andharti2004-11-053-111/+32
| | | | | no jobs that need to be remigrated. Remove the flags and the associated code.
* When the last line of a file is missing a newline in -f mode, pass atjr2004-11-051-3/+5
| | | | | | | length argument to mbrtowc() that accounts for the terminating newline character we add automatically. Failing to do this caused the loop to unexpectedly run out of characters and incorrectly signal an "Illegal byte sequence" error.
* Check that ee's standard input and output is a terminal.fjoe2004-11-051-4/+5
| | | | | | | Do not ignore all the signals in range [1..24]. PR: 65892 MFC after: 2 weeks
* Correct error handling on failed writeskientzle2004-11-052-5/+3
| | | | to the archive.
* Add support for following more than one file i.e.paul2004-11-043-96/+200
| | | | tail -f file1 file2
* Remove the remote stuff from make. This actually never worked in our makeharti2004-11-043-460/+50
| | | | | | | | | | | | because the necessary files were not imported with the original import. If somebody really needs it, there is still the devel/pmake port. This is just the first step and removes just everything that is ifdef'ed out. Otherwise the code is unchanged. Checked by: md5 Approved by: no objections on arch@
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-037-7/+7
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Revert a WIP change that shouldn't have been in last commit.paul2004-11-031-4/+2
|
* Convert to ANSI style function definitions.paul2004-11-035-31/+12
|
* Add myself to the calendarahze2004-10-301-0/+1
| | | | Approved by: adamw(mentor)
* Only check if ENABLE_SUID_NEWGRP is defined, for consistency withru2004-10-241-1/+1
| | | | other ENABLE_SUID_* variables.
* For variables that are only checked with defined(), don't provideru2004-10-2411-11/+12
| | | | any fake value.
* Add a missing full-stop to match the rest of the items in a list.keramida2004-10-241-1/+1
|
* "unset verbose" is 13 characters, not 10.ru2004-10-231-1/+1
|
* Expand the scope of the .SHELL specification to also coverru2004-10-234-30/+46
| | | | | | | | | | the compat mode of operation and the != operator. While here, fixed a bug in the .SHELL directive processing when only the name= attribute is specified and no built-in shell matches this name, causing null pointer dereference. Obtained from: NetBSD (except for bugs)
* Add punctuation which appears to have been accidentally removed incperciva2004-10-221-1/+1
| | | | revision 1.6.
* Add -D_KVM_VNODE to indicate that despite being a userland program,phk2004-10-211-0/+2
| | | | we want to know the vnode structures internals.
* -c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) andmaxim2004-10-201-2/+2
| | | | | | usage() accordingly. Submitted by: Pawel Worach
* Replaced afterinstall: with equivalent FILES and SYMLINKS.ru2004-10-181-34/+33
|
* Modify behaviour of `xargs -I` in order to:cperciva2004-10-181-2/+2
| | | | | | | | | | | | | | | | | 1. Conform to IEEE Std 1003.1-2004, which state that "Constructed arguments cannot grow larger than 255 bytes", and 2. Avoid a buffer overflow. Unfortunately the standard doesn't indicate how xargs is supposed to handle arguments which (with the appropriate substitutions) would grow larger than 255 bytes; this solution handles those by making as many substitutions as possible without overflowing the buffer. OpenBSD's xargs resolves this in a different direction, by making all the substitutions and then silently truncating the resulting string. Since this change may break existing scripts which rely upon the buffer overflow (255 bytes isn't really all that long...) it will not be MFCed.
* getopt(3) prints an "unrecognized option" warning for me, so Ikientzle2004-10-171-1/+0
| | | | | | shouldn't print another. MFC after: 15 days
* Cosmetic goof: Use two spaces in "Jan 03 2004" but only one in "Jan 03 12:32"kientzle2004-10-171-1/+1
| | | | MFC after: 15 days
* Remove the obsolete <rune.h> interface.tjr2004-10-171-2/+0
|
* Use <runetype.h> instead of <rune.h> since the latter is going away.tjr2004-10-171-2/+2
|
* Remove explicit support for generating LC_CTYPE data files that specifytjr2004-10-172-8/+1
| | | | the obsolete "UTF2" encoding.
* Bump document datebrueffer2004-10-161-1/+1
| | | | Reminded by: simon in ru-mode
* We use /etc/pam.d/login nowadaysbrueffer2004-10-151-6/+3
|
* Make sure to return 0 from kernel_getnfile() since if there were angreen2004-10-051-0/+1
| | | | error, it would exit() (and it needs to return a value).
* Re-enable descending into the "atm" subdir.ru2004-10-051-1/+1
|
* Bump document date for last commit.simon2004-10-041-1/+1
| | | | Noticed by: ru
* PAM configuration is now in /etc/pam.d/su.simon2004-10-031-7/+4
| | | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> (original version) PR: docs/70616 (part of) MFC after: 1 week
* Use a proper prototype for hertz().stefanf2004-10-032-1/+3
|
* Pass an array of gid_t rather than an array of int to getgroups().stefanf2004-10-021-1/+2
| | | | PR: 56646
* Make -t <tty> optional. If not specified use stdin/stdout.emax2004-09-302-14/+35
| | | | | | | | | | | Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:dougb2004-09-271-1/+1
| | | | | | | | | NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS. 2. Make creation of directories in /usr/include that are only needed in the WITH_BIND_LIBS case conditional. Reviewed by: ru, des
* Don't use an uninitialised variable when reading from a ktr alq file.julian2004-09-271-1/+1
|
OpenPOWER on IntegriCloud