Commit Graph

1042 Commits

Author SHA1 Message Date
jedgar
9d1f873233 Convert getfacl to the ACL editing library functions. getfacl should
now compile/work on any POSIX.1e-compliant implementation (also tested
against the current Linux patches).

Review by:	rwatson
Obtained from:	TrustedBSD Project
2001-04-13 19:24:28 +00:00
brian
766f72a0f5 Correct some markup
Submitted by:	bde
2001-04-12 20:04:54 +00:00
brian
5778f9cdd1 Introduce -osid and -otsid
Submitted by: dd
2001-04-11 22:42:54 +00:00
jedgar
d900d9995a Correct the following defines to match the POSIX.1e spec:
ACL_PERM_EXEC  -> ACL_EXECUTE
  ACL_PERM_READ  -> ACL_READ
  ACL_PERM_WRITE -> ACL_WRITE

Obtained from:	TrustedBSD
2001-04-11 02:19:01 +00:00
brian
07aa0f70cb `|'' should be more binding than `!'' so that this isn't broken:
if ! echo bla | wc -c ; then
		echo broken
	fi

Obtained from: NetBSD
2001-04-09 12:46:19 +00:00
brian
128b494724 Remove tsess for now.
This (and sess) may come back shortly.
2001-04-07 11:22:26 +00:00
brian
85867e9d5b Update documentation in line with what the code does
PR:		25435
Submitted by:	dd
Forgotten by:	mckusick
2001-04-07 11:16:41 +00:00
brian
3f36d8d0d3 The sess column went away last December with v1.26 of keyword.c
Remove it from ``jfmt''.

Forgotten by: mckusick
2001-04-07 02:53:35 +00:00
tmm
64200e310b setfacl and getfacl no longer need to link against libposix1e, since it
has been integrated into libc.

Approved by:	rwatson
Obtained from:	TrustedBSD Project
2001-04-04 18:20:08 +00:00
brian
f0d40d02af A much better (more correct) fix for handling ``!'' characters
Obtained from: NetBSD
2001-04-04 10:11:43 +00:00
brian
ff8613ac4a Handle ``!'' characters when they appear as second and subsequent
parts of an && or || expression.

This makes this expression work as expected:

	if true && ! false; then echo yes; fi
2001-04-04 09:30:50 +00:00
ru
f15a4c9bfc Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
2001-04-03 13:34:35 +00:00
ben
b260433492 Remove a comment which seemed to confuse makewhatis:
ben@freefall:~$ whatis ed
ed(1), -(1) - ed, red text editor

PR:		25164
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-03-29 01:25:06 +00:00
ru
abad4ae0a9 MAN[1-9] -> MAN. 2001-03-27 10:03:10 +00:00
fenner
d7bab9b937 Fix error reporting of delayed send errors. 2001-03-26 16:18:01 +00:00
ru
4087def52f mdoc(7) police: fix markup and some spelling. 2001-03-23 08:14:27 +00:00
ache
e0edb2a786 Silence minor cc warning 2001-03-21 15:14:47 +00:00
ache
f19ded5c99 Use nl_langinfo instead of %Ef 2001-03-21 13:33:09 +00:00
ache
0b59307318 Use nl_langinfo instead of %Ef 2001-03-21 13:21:20 +00:00
jedgar
defb1e08ce Remove extra CFLAGS
Add DPADD

Submitted by:	bde
2001-03-20 02:55:43 +00:00
jedgar
bb20d11996 Remove extra CFLAGS and redundant SRCS
Add DPADD

Submitted by:	bde
2001-03-20 02:54:41 +00:00
jedgar
3acc61edfc Remove 'NOSHARED=yes' (../Makefile.inc already sets this) 2001-03-19 21:18:48 +00:00
rwatson
97b3747b7e o Missed in addition of setfacl.h in setfacl(1) 2001-03-19 18:59:36 +00:00
rwatson
9d03a9960a o Missed in prior commit: getfacl(1) Makefile 2001-03-19 18:58:16 +00:00
rwatson
4e2b42a3a7 o Enable getfacl(1) and setfacl(1)
Obtained from:	TrustedBSD Project
2001-03-19 18:09:56 +00:00
rwatson
0bd2898eb2 o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLs
from files and directories, and setfacl sets ACLs on files and directories.

Submitted by:	jedgar
Obtained from:	TrustedBSD Project
2001-03-19 18:09:25 +00:00
ache
767ad5fbdb DIS -> ISO 2001-03-17 20:15:21 +00:00
dd
fe3b5f1d67 Make it clear that the -v option doesn't actually set the date.
PR:		24773
Approved by:	nik
2001-03-16 02:20:24 +00:00
asmodai
3e071e7b51 Revert this file back to how it was in the STABLE branch, this means:
put greek and ja in the correct alphabetical place in the SUBDIR line.
2001-03-05 09:50:43 +00:00
kris
279e311e78 Switch from using rand() or random() to a stronger, more appropriate PRNG
(random() or arc4random())

Reviewed by:	bde
2001-03-05 02:15:38 +00:00
assar
05286a6e61 implement OCRNL, ONOCR, and ONLRET
Obtained from:	NetBSD
2001-03-04 06:04:50 +00:00
ache
8a18d60de0 Small optimization: set use_ampm only when needed 2001-03-03 01:46:58 +00:00
ache
53a7b40fdc Use AM/PM time only when available in locale 2001-03-02 23:53:36 +00:00
ru
23aab9f696 POSIX wrote:
: LC_TIME   This variable shall determine the format and
:           contents of date and time strings when the -v
:           option is specified.

Developers took this wrong.  LC_TIME specifies the locale
name, not the ``format'' argument of strftime().

Oops:
	pax -w -f /tmp/foo /dev/null
	LC_TIME=de_DE.ISO_8859-1 pax -v -f /tmp/foo
2001-03-02 16:19:49 +00:00
ben
8d752631f2 The 'X' permission symbol is specified by POSIX.2, so don't say that it
isn't.

Obtained from:	NetBSD
Confirmed by:	ru, wollman
2001-03-01 19:03:01 +00:00
ru
0b7f07b8e5 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
obrien
fe8a85ef41 Fix style bug I introduced with rev 1.13 (rcsid after includes).
Along with CSRG id lossage in rev 1.11.

Submitted by:	bde
2001-02-28 11:06:04 +00:00
obrien
cd4c00fb6b Add rcsid. 2001-02-27 10:50:06 +00:00
ru
f270ecc3f7 Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3.
Submitted by:	"Stephen L. Palmer" <slpalmer@mail.com>
Forgotten by:	asmodai
2001-02-22 07:29:40 +00:00
jlemon
5f9e45a640 Do not coredump if no options are supplied. (ps -o,)
Submitted by: rgrimes
Obtained from: NetBSD
2001-02-14 18:54:34 +00:00
ru
128310ec7a mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
jake
9437320062 Catch up to new priority interface. 2001-02-12 00:21:38 +00:00
ache
f3f24d3081 Use decimal point from locale 2001-02-11 02:25:56 +00:00
asmodai
db24d83a1c Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
cracauer
5718f93166 Fix child's SIGSTOP behaviour in scripts.
When a child is receiving SIGSTOP, eval continues with the next
command.  While that is correct for the interactive case (Control-Z
and you get the prompt back), it is wrong for a shellscript, which
just continues with the next command, never again waiting for the
stopped child.  Noted when childs from cronjobs were stopped, just to
make more processes (by wosch).

The fix is not to return from a job wait when the wait returned for a
stopped child while in non-interactive mode.  This bahaviour seems to
be what bash2 and ksh implement.  I tested for correct behaviour for
finnaly killing the child with and without forgrounding it first.
When not foregrouding before killing, the shell continues with the
script, which is what the other shells do as well.

Reviewed by:	Silence on -current
2001-02-06 10:29:34 +00:00
mckay
ecc91f5ee9 In the hope of saving others from hours of tedious recovery work,
document that cp still isn't very useful for recursive copies even
with the -R flag.  This is because hard links are broken by cp.
2001-02-04 02:02:38 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
jdp
aa403d88f7 Note that rmdir(2) does not follow symbolic links. 2001-01-24 23:49:59 +00:00
jhb
2dbedd3879 - Catch up to new proc flags. 2001-01-24 12:59:50 +00:00
ben
4d9d19bfda Document the restrictions on changing times in high securelevels.
PR:		23502
Submitted by:	Robert Boyd <rboyd@pokerspot.com>
2001-01-17 21:27:54 +00:00