jedgar
2da23531d9
o Separate acl_t into internal and external representations as
...
required by POSIX.1e. This maintains the current 'struct acl'
in the kernel while providing the generic external acl_t
interface required to complete the ACL editing library.
o Add the acl_get_entry() function.
o Convert the existing ACL utilities, getfacl and setfacl, to
fully make use of the ACL editing library.
Obtained from: TrustedBSD Project
2001-04-24 22:45:41 +00:00
tmm
2d5016b903
Remove bogus assignments of libc syscall stub return values to errno;
...
the stubs do errno assignments and return -1 in this case, so that errno
would end up with this value.
Approved by: rwatson
2001-04-24 20:50:42 +00:00
archie
21cf7b313e
Apply 'const' liberally.
...
Fix some other minor glitches.
2001-04-24 00:06:21 +00:00
ache
43a5f99125
Add sranddev.3 to MLINKS
2001-04-23 11:11:00 +00:00
ache
873e76a169
Add #include "un-namespace.h"
2001-04-23 10:38:26 +00:00
ache
18527260ea
srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
...
change of high word part too to produce more interesting seed distribution.
2001-04-23 10:14:28 +00:00
joerg
c22f3155bd
Fix directory reads of MNT_UNION mounts, where entries present in both
...
layers would be displayed twice.
PR: bin/26498
Submitted by: Olliver Fromme <olli@secnetix.de>
2001-04-23 10:01:38 +00:00
ru
684299fc84
mdoc(7) police: fix markup.
2001-04-23 07:39:36 +00:00
ache
fb76083ae2
Add sranddev() since srand() is not vary much with seed, typical time
2001-04-23 02:29:10 +00:00
dd
d3657cb5d2
Don't pass NULL to the %s format.
...
Reviewed by: kris
2001-04-22 03:00:09 +00:00
msmith
f597ed86c7
Turn on libdevinfo
2001-04-21 00:11:00 +00:00
msmith
dd6af5226a
devinfo_var.h should not be in INCS
2001-04-20 23:10:09 +00:00
msmith
79878361a8
More typo fixes, .Os -> .Fx
2001-04-20 23:02:52 +00:00
msmith
9f4c2ce4cc
typo .Fr -> .Fn
2001-04-20 23:00:24 +00:00
msmith
ba7f88e2be
Add a manpage for libdevinfo.
2001-04-20 22:48:12 +00:00
msmith
bbdb020320
This is the Device Information Library, libdevinfo.
...
The devinfo library provides access to the kernel's internal device
hierarchy and to the I/O resource manager. The library uses a
sysctl(9) interface to obtain a snapshot of the kernel's state which
is then made available to the application.
2001-04-20 05:53:30 +00:00
ru
fe80a1fb97
mdoc(7) police: update referenced standard name.
2001-04-18 16:01:43 +00:00
ru
2d1b95a96f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
ru
16a48734c9
mdoc(7) police: fix markup.
2001-04-18 15:43:06 +00:00
ru
7d4b08864a
mdoc(7) police: fix markup.
2001-04-18 13:16:47 +00:00
ru
8c5fa3b175
mdoc(7) police: use .Fx where appropriate.
2001-04-18 13:14:47 +00:00
deischen
5e6e0f0b7b
Typo; fix open() so that it is not a cancellation point when called
...
from libc.
2001-04-18 12:42:11 +00:00
deischen
9b1e997b4c
Reinstall the alternate signal stack after a fork.
...
PR: 25110
Tested by: knu
2001-04-18 12:40:30 +00:00
ru
03fd77f5a8
mdoc(7) police: uppercase document title.
2001-04-18 08:25:26 +00:00
kris
922e3083cc
Correct a typo; prefered -> preferred.
2001-04-17 08:01:54 +00:00
kris
0f958ee746
Add fmtcheck(), a function for checking consistency of format string
...
arguments where the format string is obtained from user data, or
otherwise difficult to verify statically.
Example usage:
printf(fmtcheck(user_format, standard_format), arg1, arg2);
checks the format string user_format for consistency (same number/order/
type of format operators) with standard_format. If they differ,
standard_format is used instead to avoid potential crashes or security
violations.
Obtained from: NetBSD
Reviewed by: -arch
2001-04-17 07:59:52 +00:00
ru
fc3ab5d07e
mdoc(7) police: add missing .El call.
2001-04-16 15:06:57 +00:00
ru
91998be9f0
mdoc(7) police: fix markup.
2001-04-16 15:06:19 +00:00
dd
02c02ffeef
Grammar police: "its", not "it's", is the possessive form of "it".
2001-04-15 19:53:47 +00:00
dd
05eff787d1
Make links from setresuid.2 to getresgid.2 and getresuid.2.
2001-04-15 19:41:44 +00:00
dd
e91392f0b6
Document getresgid and getresuid calls.
...
Reviewed by: ru
2001-04-15 19:40:22 +00:00
jedgar
d24edc9e6d
Correct a bogus cast in acl_get_qualifier() causing invalid
...
ID's to be stored in the ACL.
Obtained from: TrustedBSD Project
2001-04-15 15:21:15 +00:00
dd
efb187afd6
Add `RETURN VALUES'' and
`ERRORS'' sections since getpgid(2) can
...
fail. Also fix a minor grammar nit (it's -> its).
PR: 26520
2001-04-14 02:34:59 +00:00
jedgar
0575e04a30
Add acl_get_perm_np(3), a non-portable function to check if a
...
permission is in a permission set, required for third-party
applications such as Samba.
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2001-04-13 19:37:04 +00:00
jedgar
430f24915d
Add the remaining POSIX.1e ACL definitions:
...
ACL_UNDEFINED_TAG, ACL_UNDEFINED_ID, ACL_FIRST_ENTRY, ACL_NEXT_ENTRY
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2001-04-13 19:14:38 +00:00
ache
4640eb1887
Back out history.3 link removing - conflict fixed in libreadline instead
2001-04-12 09:57:12 +00:00
ache
5838a80470
Comment out one of many editline.3 MLINKS conflicting with libreadline
...
(history.3)
2001-04-12 03:33:13 +00:00
jedgar
96b8f4bcfe
Revamp acl_create_entry() so it actually works.
...
Obtained from: TrustedBSD Project
2001-04-11 22:09:51 +00:00
jedgar
512fd8bc5f
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
deischen
f0c50f0089
Clean up a bit. Use the correct TAILQ link when walking the thread
...
lists to free thread resources after a fork (in the child). Also
remember to free the dead thread list.
2001-04-10 04:25:49 +00:00
deischen
ec98854211
Added a missing set of braces to a conditional that encompasses more than
...
one statement.
2001-04-10 04:22:24 +00:00
deischen
dd46d4e05f
To be consistent, use the __weak_reference macro from <sys/cdefs.h>
...
instead of #pragma weak to create weak definitions.
Suggested by: bde
2001-04-10 04:19:21 +00:00
deischen
3c4f2f3db2
To be consistent, use the __weak_reference macro from <sys/cdefs.h>
...
instead of #pragma weak to create weak definitions. This macro is
improperly named, though, since a weak definition is not the same
thing as a weak reference.
Suggested by: bde
2001-04-10 04:11:50 +00:00
deischen
9afc57514e
Include <unistd.h> so that read(2) and write(2) don't cause warnings.
2001-04-10 03:55:19 +00:00
deischen
28d5436d8a
Fix a comment within a comment warning due to a missing "*/".
2001-04-10 03:47:40 +00:00
iedowse
1c1ece43e3
The maximum RPC message size was set at 8k for UDP. This is lower
...
than the default buffer size in the old RPC code (8800 bytes), and
it could not be overriden by the application. This caused problems
with CFS (/usr/port/security/cfs).
Change this default back to UDPMSGSIZE (8800 bytes), but more
importantly, allow applications to use larger message sizes for
all protocols if desired. Choose an arbitrary maximum message size
of 256k instead of using the default as the maximum (which is
silly).
Reported by: ache
Reviewed by: alfred, Martin Blapp <mb@imp.ch>
2001-04-08 19:21:50 +00:00
dd
494867e77f
Mention that locks are inherited across an exec.
...
PR: 24802
Submitted by: Kenneth Ingham <ingham@i-pi.com>
2001-04-08 19:11:25 +00:00
dd
6ca32ea506
Install links to extattr_(get|set|delete)_fd.2 (from extattr_get_file.2).
2001-04-08 06:58:48 +00:00
gallatin
c75e034cd6
fix cd9660 to work on files larger than ISO_DEFAULT_BLOCK_SIZE and unbreak
...
cdboot on alphas (which has been broken since just after 4.0-RELEASE)
submitted by: jlemon
2001-04-07 23:48:46 +00:00
des
a14b691e19
If the server's reply to the SIZE command is unparseable, reset us->size
...
to -1 so the caller will know it's invalid. This is an MFC candidate.
2001-04-07 15:26:31 +00:00