Robert Watson
820a52632e
No POSIX.1e capabilities in the main tree yet.
2002-06-13 23:40:13 +00:00
Jens Schweikhardt
27cf01ec47
Correct a bunch of typos. Translators can ignore this commit.
...
MFC after: 3 weeks
2002-06-02 10:27:41 +00:00
David E. O'Brien
333fc21e3c
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
Brian Feldman
92369d84a9
Check if string is not NULL, not *string, before setting *string.
2002-02-27 22:00:44 +00:00
Chris D. Faulhaber
a82f127b41
o style(9) and consistency fix:
...
- if (!var) -> if (var == NULL)
o spelling fix (althouh -> although)
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:18:04 +00:00
Chris D. Faulhaber
9fd46b0237
o style(9) and consistency fixes:
...
- if (!var) -> if (var == NULL)
- return val; -> return (val);
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:17:19 +00:00
Chris D. Faulhaber
e146d0bc6a
Add more argument checking
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:13:06 +00:00
Chris D. Faulhaber
c61eb011c4
static'ize and declare functions
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:12:25 +00:00
Chris D. Faulhaber
e76872c11e
o style and consistency fixes:
...
- if (!var) -> if (var == NULL)
- return val; -> return (val);
o update copyright
2002-02-17 20:05:20 +00:00
Chris D. Faulhaber
60fba73589
Correct function's description.
...
Obtained from: TrustedBSD Project
2002-01-29 12:18:45 +00:00
Chris D. Faulhaber
d5af31a255
o return EINVAL if acl_to_text() have been sent a NULL acl. o update copyright dates.
...
Reviewed by: rwatson
2002-01-26 19:32:50 +00:00
Chris D. Faulhaber
98a32f6de6
Correct phrase 'get an ACL' to 'set an ACL'.
...
PR: 33660
Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>
2002-01-07 22:46:14 +00:00
Chris Costello
d06a764812
o Change the layout of the tagged lists to be like those in acl(3).
...
o Document the following capabilities: CAP_NET_ADMIN, CAP_SYS_RAWIO,
CAP_SYS_ADMIN, and CAP_SYS_TTY_CONFIG.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2001-12-23 00:19:48 +00:00
Robert Watson
5acb7446b0
o Reflect repo-copy of extattr.[c3] from libutil to libc, moving
...
extattr namespace routines to the libc/posix1e directory. While
the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't
strictly ever approved, so I think that's OK.
Obtained from: TrustedBSD Project
2001-11-16 05:09:45 +00:00
Bruce Evans
da838a6546
Fixed missing `const' in synopsis.
2001-10-03 16:29:21 +00:00
Bruce Evans
d2dcbe6238
Fixed return type in synopsis.
2001-10-03 16:25:08 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Matthew Dillon
8719c58fef
Add __FBSDID()s to libutil
2001-09-30 22:35:07 +00:00
Ruslan Ermilov
9cbf4a2152
mdoc(7) police: removed commas from the standard (split) AUTHORS block.
2001-09-11 09:26:38 +00:00
Ruslan Ermilov
8872ae5340
mdoc(7) police: markup and minor content fixes.
...
o Removed whitespace at EOL
o Removed hard sentence breaks
o Added cap_size() to the NAME section
o Normalized .Nd descriptions
o Fixed the abuses of .Nm and .Va
o Fixed some DESCRIPTION texts
o Fixed the RETURN VALUES and ERRORS texts to look more traditional
Reviewed by: tmm
2001-09-05 14:09:08 +00:00
Robert Watson
8d44fade0e
Add Thomas Moestl and Chris Faulhaber to the author list for POSIX.1e
...
support.
Obtained from: TrustedBSD Project
2001-09-05 03:36:00 +00:00
Robert Watson
3652b4dc72
o Sync up prototypes for cap_size() and cap_copy_ext() with
...
sys/capability.h--this compiled fine on i386 where (int) and (ssize_t)
are the same, but broke on Alpha where they differ.
Submitted by: Mike Barcroft <mike@FreeBSD.org>
Obtained from: TrustedBSD Project
2001-09-02 23:13:49 +00:00
Robert Watson
0e3adf0b58
o Attach cap_cmp.c and cap_copy.c to the build.
...
o Attach cap_copy_ext.3 and cap_copy_int.3 to the install, and link
cap_size.3 to cap_copy_ext.3.
Submitted by: tmm
Obtained from: TrustedBSD Project
2001-09-01 00:00:50 +00:00
Ruslan Ermilov
d6002fef6f
Use ``.Rv -std'' wherever possible.
...
Submitted by: yar
2001-08-31 09:57:38 +00:00
Robert Watson
ab2ba9fac8
o Use .Fx to refer to FreeBSD
...
Submitted by: tmm
Obtained from: TrustedBSD Project
2001-08-31 02:12:54 +00:00
Robert Watson
cbc25559e4
o Remove definition of CAP_MAX_BUF_LEN since it is defined in
...
sys/capability.h now.
Submitted by: tmm
Obtained from: TrustedBSD Project
2001-08-31 02:11:59 +00:00
Robert Watson
7bb862d793
Introduce implementations of POSIX.1e non-portable form capability
...
support functions:
cap_subset_np() - Is cap1 a subset of cap2
cap_equal_np() - Is cap1 equal to cap2
o Introduce implementations of POSIX.1e capability support functions:
cap_copy_ext() - Externalize capability
cap_copy_int() - Internalize capability
cap_size() - Determine size required for cap_copy_ext()
Submitted by: tmm
Obtained from: TrustedBSD Project
2001-08-31 02:07:48 +00:00
Robert Watson
fca41b9c6f
o src/sys/capability.h provides a number of support macros that are not
...
documented by POSIX.1e, and understand the opaque capability structures.
Introduce support in the userland POSIX.1e library for a
_CAPABILITY_NEEDMACROS define to remove these macros from the normal
namespace, but allow the libc functions to use them.
Submitted by: tmm
Obtained from: TrustedBSD Project
2001-08-29 17:53:45 +00:00
Robert Watson
4b7e521b26
o s/violate/override/ Capabilities are part of the system policy, not
...
an exception to it.
Submitted by: tmm
Obtained from: TrustedBSD Project
2001-08-25 14:37:01 +00:00
Brian Somers
3c321a686f
Handle snprintf() returning -1
...
MFC after: 2 weeks
2001-08-20 12:41:36 +00:00
Yaroslav Tykhiy
a2a0a4dc2a
Use the ".Rv" mdoc(7) macro where appropriate.
...
Reviewed by: ru
2001-08-14 14:20:35 +00:00
Yaroslav Tykhiy
b1250632c5
Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.
...
Reviewed by: ru
2001-08-09 13:32:13 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
5521ff5a4d
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
Dima Dorfman
2b47b55f69
Add RETURN VALUES and ERRORS sections.
2001-06-25 01:25:01 +00:00
Dima Dorfman
444a2d61e8
Add a manual page for extattr_string_to_namespace and
...
extattr_namespace_to_string.
Reviewed by: rwatson
2001-06-24 23:54:46 +00:00
Dima Dorfman
a910f192bb
Remove duplicate words.
2001-06-24 01:34:38 +00:00
Maxim Sobolev
000d56193c
Fix cross-references:
...
xntpd.8 --> ntpd.8
acl_delete_perms.3 --> acl_delete_perm.3
getname.2 --> getsockname.2
MFC after: 1 week
2001-06-10 12:06:54 +00:00
Ruslan Ermilov
9af42d27b1
mdoc(7) police: fix markup.
2001-05-16 09:50:12 +00:00
Chris D. Faulhaber
fda2d391d6
Correct prototype (entry_p -> *entry_p)
...
Submitted by: Alex Zepeda <jazepeda@pacbell.net>
2001-05-07 23:16:25 +00:00
Chris D. Faulhaber
21aaa49c89
Document acl_get_entry(3)
...
Obtained from: TrustedBSD Project
2001-04-26 22:28:14 +00:00
Chris D. Faulhaber
0f6263079e
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
Thomas Moestl
a483f58aea
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
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Ruslan Ermilov
79d4920b1d
mdoc(7) police: use .Fx where appropriate.
2001-04-18 13:14:47 +00:00
Ruslan Ermilov
6061acb30c
mdoc(7) police: fix markup.
2001-04-16 15:06:19 +00:00
Chris D. Faulhaber
d5675fffd1
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
Chris D. Faulhaber
9a227c5754
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