| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: 5196
Submitted by: Matt Dillon <dillon@best.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for users who are root, or in group wheel. This is useful on large timesharing
systems where a PS command can cause the system to grind to a halt. The
ability to get the information isn't diminished for those who really need the
additional detail (administrators.) Normal users won't see any difference unless
the processes are swapped out. The "really get it mode" is invoked by the
use of an additional flag in the command string "-f". New/old behavior is
selectable with a compile option.
PR: 5196
Submitted by: Matt Dillon <dillon@best.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from: Whistle Communications tree
Add an option to the way UFS works dependent on the SUID bit of directories
This changes makes things a whole lot simpler on systems running as
fileservers for PCs and MACS. to enable the new code you must
1/ enable option SUIDDIR on the kernel.
2/ mount the filesystem with option suiddir.
hopefully this makes it difficult enough for people to
do this accidentally.
see the new chmod(2) man page for detailed info.
|
|
|
|
| |
signal.
|
|
|
|
| |
to be sorted. This temporarily broke the "osync" option.
|
|
|
|
|
|
| |
cast value that was always ignored. Rev.1.9 of trap.c made this
more bogus by returning a semantically different value after calling
siginterrupt(). Avoid these problems by not returning a value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
trap 'echo xxx' 1 2 3 15
read x
is not interrupted by ^C (due to restartable read syscall) and must be
interrupted per POSIX
Worse case:
read -t 5 x
hangs forever after ^C pressed (supposed to timeout after 5 secs)
Fixed by adding siginterrupt(signo, 1) after catch handler installed
2) Do not reinstall sighandler immediately after it is called,
BSD do it for us
|
|
|
|
| |
Pointed out by bde.
|
|
|
|
|
|
| |
pointless paren's to return statements.
Nitpicked by: bde :)
|
|
|
|
| |
PR: bin/4415
|
|
|
|
|
|
|
| |
things like diskless clients' swap files etc.
Submitted by: pascal@zuo.dec.com (Pascal Pederiva) (ages ago, with many
stylistic changes by me)
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
| |
Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>)
|
|
|
|
| |
Obtained from: OpenBSD (file rev 1.5) Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
|
|
|
| |
don't munge argv strings -- copy them first. avoids 'w' showing:
deraadt p8 zeus.theos.com 8:26AM 3 dd if of bs
Obtained from: OpenBSD (file rev 1.3) by Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
| |
Obtained from: Theo deRaadt <theo@openbsd.org> (OpenBSD rev 1.6)
|
|
|
|
| |
Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD rev 1.3)
|
|
|
|
| |
Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD csh.c rev 1.3 and 1.4)
|
|
|
|
|
|
| |
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
|
|
|
|
|
| |
print which input mv(1) expect (y/n) and print a warning if the
file was not overwritten.
|
|
|
|
|
| |
print which input cp(1) expect (y/n) and print a warning if the
file was not overwritten.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/4661
Submitted by: blank@sliphost37.uni-trier.de (Sascha Blank)
|
|
|
|
|
|
|
|
| |
'read' command to return an error if the user fails to supply any
input withink a given time period. The behaviour of this option is
similar to that of the like-named option in ksh93.
Reviewed by: joerg
|
|
|
|
|
|
|
| |
$ touch from to
$ echo -n loop | mv -i from to
overwrite to?
^C
|
|
|
|
| |
Also make -Wall a bit quieter.
|
| |
|
|
|
|
|
| |
PR: bin/4558
Submitted by: Keith Bostic
|
|
|
|
|
|
| |
The -c flag is not documented in the sh(1) manapge.
Submitted by: adrian@virginia.edu
|
|
|
|
|
| |
PR: docs/4450
Submitted by: josh@quick.net
|
|
|
|
|
|
| |
for potential trouble.
Reviewed by: security officers.
Noted by: OpenBSD
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4427
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4425
|
|
|
|
| |
Needed for ELF.
|
|
|
|
| |
for tools).
|
|
|
|
| |
PR: bin/3573
|
|
|
|
|
| |
PR: 2631
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
|
|
|
|
|
| |
PR: 3769
Submitted by: johnp@lodgenet.com
|
|
|
|
|
|
|
|
|
|
| |
is also set.
Change osync to not to tack on an empty block if the input buffer is null,
or an even multiple of the blocksize.
Also change osync to pad the output with nulls/spaces depending whether
this is a block-oriented conversion or not (same as sync).
PR: 3818
|
|
|
|
| |
Submitted by: grog@lemis.com
|
|
|
|
| |
pid_t when referring to process IDs.
|
|
|
|
|
|
| |
to the source code directory.
Submitted by: bde
|
| |
|
|
|
|
| |
compile again.
|
| |
|