CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: christos Date: Sun Jul 26 18:10:01 UTC 2020 Modified Files: src/lib/libc/posix1e: Makefile.inc Removed Files: src/lib/libc/posix1e: extattr.3 Log Message: this file contained the same information as extattr_namespace_to_string.3 and somewhat incorrect too. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/posix1e/Makefile.inc cvs rdiff -u -r1.3 -r0 src/lib/libc/posix1e/extattr.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/Makefile.inc diff -u src/lib/libc/posix1e/Makefile.inc:1.2 src/lib/libc/posix1e/Makefile.inc:1.3 --- src/lib/libc/posix1e/Makefile.inc:1.2 Sat Jul 25 17:53:34 2020 +++ src/lib/libc/posix1e/Makefile.inc Sun Jul 26 14:10:00 2020 @@ -63,7 +63,6 @@ MAN+= acl.3\ acl_strip_np.3 \ acl_to_text.3 \ acl_valid.3 \ - extattr.3 \ posix1e.3 MLINKS+=acl_create_entry.3 acl_create_entry_np.3 \
CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: christos Date: Sat Jul 25 21:53:34 UTC 2020 Modified Files: src/lib/libc/posix1e: Makefile.inc Removed Files: src/lib/libc/posix1e: extattr.c Log Message: remove duplicate, noted by chuq (this was never used). perhaps either move extattr.c from generic here, or move the man page extattr.3 in gen? To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/posix1e/Makefile.inc cvs rdiff -u -r1.1 -r0 src/lib/libc/posix1e/extattr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/Makefile.inc diff -u src/lib/libc/posix1e/Makefile.inc:1.1 src/lib/libc/posix1e/Makefile.inc:1.2 --- src/lib/libc/posix1e/Makefile.inc:1.1 Sat May 16 14:31:47 2020 +++ src/lib/libc/posix1e/Makefile.inc Sat Jul 25 17:53:34 2020 @@ -25,7 +25,6 @@ SRCS+= acl_branding.c \ acl_to_text.c \ acl_to_text_nfs4.c \ acl_valid.c \ - extattr.c \ subr_acl_nfs4.c MAN+= acl.3\
CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: wiz Date: Sun Jun 28 21:37:05 UTC 2020 Modified Files: src/lib/libc/posix1e: posix1e.3 Log Message: Remove Xr to extattr(2) which we don't have. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/posix1e/posix1e.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/posix1e.3 diff -u src/lib/libc/posix1e/posix1e.3:1.3 src/lib/libc/posix1e/posix1e.3:1.4 --- src/lib/libc/posix1e/posix1e.3:1.3 Sun Jun 28 18:23:01 2020 +++ src/lib/libc/posix1e/posix1e.3 Sun Jun 28 21:37:05 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: posix1e.3,v 1.3 2020/06/28 18:23:01 christos Exp $ +.\" $NetBSD: posix1e.3,v 1.4 2020/06/28 21:37:05 wiz Exp $ .\"- .\" Copyright (c) 2000, 2009 Robert N. M. Watson .\" All rights reserved. @@ -51,7 +51,7 @@ implements POSIX.1e interface for access and supports ACLs on the .Xr ffs 7 file system; ACLs must be administratively enabled using -.Xr tunefs 8 +.Xr tunefs 8 or via .Xr mount 8 options. @@ -75,7 +75,6 @@ and .Sh SEE ALSO .Xr getfacl 1 , .Xr setfacl 1 , -.Xr extattr 2 , .Xr acl 3 , .Xr extattr 3 , .Xr ffs 7 ,
CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: christos Date: Sun Jun 28 18:23:01 UTC 2020 Modified Files: src/lib/libc/posix1e: posix1e.3 Log Message: reality check To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/posix1e/posix1e.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/posix1e.3 diff -u src/lib/libc/posix1e/posix1e.3:1.2 src/lib/libc/posix1e/posix1e.3:1.3 --- src/lib/libc/posix1e/posix1e.3:1.2 Thu Jun 18 15:46:59 2020 +++ src/lib/libc/posix1e/posix1e.3 Sun Jun 28 14:23:01 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: posix1e.3,v 1.2 2020/06/18 19:46:59 wiz Exp $ +.\" $NetBSD: posix1e.3,v 1.3 2020/06/28 18:23:01 christos Exp $ .\"- .\" Copyright (c) 2000, 2009 Robert N. M. Watson .\" All rights reserved. @@ -37,7 +37,7 @@ .Sh SYNOPSIS .In sys/types.h .In sys/acl.h -.In sys/mac.h +.\" .In sys/mac.h .Sh DESCRIPTION POSIX.1e describes five security extensions to the POSIX.1 API: Access Control Lists (ACLs), Auditing, Capabilities, Mandatory Access Control, and @@ -45,36 +45,25 @@ Information Flow Labels. While IEEE POSIX.1e D17 specification has not been standardized, several of its interfaces are widely used. .Pp -.Fx +.Nx implements POSIX.1e interface for access control lists, described in .Xr acl 3 , and supports ACLs on the .Xr ffs 7 file system; ACLs must be administratively enabled using -.Xr tunefs 8 . +.Xr tunefs 8 +or via +.Xr mount 8 +options. .Pp -.Fx -implements a POSIX.1e-like mandatory access control interface, described in -.Xr mac 3 , -although with a number of extensions and important semantic differences. -.Pp -.Fx -does not implement the POSIX.1e audit, privilege (capability), or information -flow label APIs. -However, -.Fx -does implement the -.Xr libbsm 3 -audit API. -It also provides -.Xr capsicum 4 , -a lightweight OS capability and sandbox framework implementing a -hybrid capability system model. +.Nx +does not implement the POSIX.1e mac, audit, privilege (capability), +or information flow label APIs. .Sh ENVIRONMENT POSIX.1e assigns security attributes to all objects, extending the security functionality described in POSIX.1. These additional attributes store fine-grained discretionary access control -information and mandatory access control labels; for files, they are stored +information; for files, they are stored in extended attributes, described in .Xr extattr 3 . .Pp @@ -82,36 +71,22 @@ POSIX.2c describes a set of userland utilities for manipulating these attributes, including .Xr getfacl 1 and -.Xr setfacl 1 -for access control lists, and -.Xr getfmac 8 -and -.Xr setfmac 8 -for mandatory access control labels. +.Xr setfacl 1 . .Sh SEE ALSO .Xr getfacl 1 , .Xr setfacl 1 , .Xr extattr 2 , .Xr acl 3 , .Xr extattr 3 , -.Xr libbsm 3 , -.Xr libcasper 3 , -.Xr mac 3 , -.Xr capsicum 4 , .Xr ffs 7 , -.Xr getfmac 8 , -.Xr setfmac 8 , .Xr tunefs 8 , .Xr acl 9 , -.Xr extattr 9 , -.Xr mac 9 +.Xr extattr 9 .Sh STANDARDS POSIX.1e is described in IEEE POSIX.1e draft 17. .Sh HISTORY POSIX.1e support was introduced in -.Fx 4.0 ; -most features were available as of -.Fx 5.0 . +.Nx 10.0 . .Sh AUTHORS .An Robert N M Watson .An Chris D. Faulhaber
CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: wiz Date: Thu Jun 18 19:47:41 UTC 2020 Modified Files: src/lib/libc/posix1e: extattr.3 Log Message: Remove reference to non-existing extattr(2) and fix two other xrefs. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/posix1e/extattr.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/extattr.3 diff -u src/lib/libc/posix1e/extattr.3:1.2 src/lib/libc/posix1e/extattr.3:1.3 --- src/lib/libc/posix1e/extattr.3:1.2 Thu Jun 18 19:46:59 2020 +++ src/lib/libc/posix1e/extattr.3 Thu Jun 18 19:47:41 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: extattr.3,v 1.2 2020/06/18 19:46:59 wiz Exp $ +.\" $NetBSD: extattr.3,v 1.3 2020/06/18 19:47:41 wiz Exp $ .\" .\" Copyright (c) 2001 Dima Dorfman .\" All rights reserved. @@ -88,9 +88,9 @@ is set to indicate the error. The requested namespace could not be identified. .El .Sh SEE ALSO -.Xr extattr 2 , -.Xr getextattr 8 , -.Xr setextattr 8 , +.\".Xr extattr 2 , +.Xr getextattr 1 , +.Xr setextattr 1 , .Xr extattr 9 .Sh HISTORY Extended attribute support was developed as part of the
CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: wiz Date: Thu Jun 18 19:46:34 UTC 2020 Modified Files: src/lib/libc/posix1e: acl.3 acl_add_flag_np.3 acl_add_perm.3 acl_calc_mask.3 acl_clear_flags_np.3 acl_clear_perms.3 acl_copy_entry.3 acl_create_entry.3 acl_delete.3 acl_delete_entry.3 acl_delete_flag_np.3 acl_delete_perm.3 acl_dup.3 acl_free.3 acl_from_text.3 acl_get.3 acl_get_brand_np.3 acl_get_entry.3 acl_get_entry_type_np.3 acl_get_flag_np.3 acl_get_flagset_np.3 acl_get_perm_np.3 acl_get_permset.3 acl_get_qualifier.3 acl_get_tag_type.3 acl_init.3 acl_is_trivial_np.3 acl_set.3 acl_set_entry_type_np.3 acl_set_flagset_np.3 acl_set_permset.3 acl_set_qualifier.3 acl_set_tag_type.3 acl_strip_np.3 acl_to_text.3 acl_valid.3 Log Message: Add RCS Id. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/posix1e/acl.3 \ src/lib/libc/posix1e/acl_add_flag_np.3 \ src/lib/libc/posix1e/acl_add_perm.3 src/lib/libc/posix1e/acl_calc_mask.3 \ src/lib/libc/posix1e/acl_clear_flags_np.3 \ src/lib/libc/posix1e/acl_clear_perms.3 \ src/lib/libc/posix1e/acl_copy_entry.3 \ src/lib/libc/posix1e/acl_create_entry.3 src/lib/libc/posix1e/acl_delete.3 \ src/lib/libc/posix1e/acl_delete_entry.3 \ src/lib/libc/posix1e/acl_delete_flag_np.3 \ src/lib/libc/posix1e/acl_delete_perm.3 src/lib/libc/posix1e/acl_dup.3 \ src/lib/libc/posix1e/acl_free.3 src/lib/libc/posix1e/acl_from_text.3 \ src/lib/libc/posix1e/acl_get.3 src/lib/libc/posix1e/acl_get_brand_np.3 \ src/lib/libc/posix1e/acl_get_entry.3 \ src/lib/libc/posix1e/acl_get_entry_type_np.3 \ src/lib/libc/posix1e/acl_get_flag_np.3 \ src/lib/libc/posix1e/acl_get_flagset_np.3 \ src/lib/libc/posix1e/acl_get_perm_np.3 \ src/lib/libc/posix1e/acl_get_permset.3 \ src/lib/libc/posix1e/acl_get_qualifier.3 \ src/lib/libc/posix1e/acl_get_tag_type.3 src/lib/libc/posix1e/acl_init.3 \ src/lib/libc/posix1e/acl_is_trivial_np.3 src/lib/libc/posix1e/acl_set.3 \ src/lib/libc/posix1e/acl_set_entry_type_np.3 \ src/lib/libc/posix1e/acl_set_flagset_np.3 \ src/lib/libc/posix1e/acl_set_permset.3 \ src/lib/libc/posix1e/acl_set_qualifier.3 \ src/lib/libc/posix1e/acl_set_tag_type.3 \ src/lib/libc/posix1e/acl_strip_np.3 src/lib/libc/posix1e/acl_to_text.3 \ src/lib/libc/posix1e/acl_valid.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/acl.3 diff -u src/lib/libc/posix1e/acl.3:1.1 src/lib/libc/posix1e/acl.3:1.2 --- src/lib/libc/posix1e/acl.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/acl.3 Thu Jun 18 19:46:34 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: acl.3,v 1.2 2020/06/18 19:46:34 wiz Exp $ .\"- .\" Copyright (c) 2000, 2001, 2002 Robert N. M. Watson .\" All rights reserved. Index: src/lib/libc/posix1e/acl_add_flag_np.3 diff -u src/lib/libc/posix1e/acl_add_flag_np.3:1.1 src/lib/libc/posix1e/acl_add_flag_np.3:1.2 --- src/lib/libc/posix1e/acl_add_flag_np.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/acl_add_flag_np.3 Thu Jun 18 19:46:34 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: acl_add_flag_np.3,v 1.2 2020/06/18 19:46:34 wiz Exp $ .\"- .\" Copyright (c) 2008, 2009 Edward Tomasz Napierala .\" All rights reserved. Index: src/lib/libc/posix1e/acl_add_perm.3 diff -u src/lib/libc/posix1e/acl_add_perm.3:1.1 src/lib/libc/posix1e/acl_add_perm.3:1.2 --- src/lib/libc/posix1e/acl_add_perm.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/acl_add_perm.3 Thu Jun 18 19:46:34 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: acl_add_perm.3,v 1.2 2020/06/18 19:46:34 wiz Exp $ .\"- .\" Copyright (c) 2001 Chris D. Faulhaber .\" All rights reserved. Index: src/lib/libc/posix1e/acl_calc_mask.3 diff -u src/lib/libc/posix1e/acl_calc_mask.3:1.1 src/lib/libc/posix1e/acl_calc_mask.3:1.2 --- src/lib/libc/posix1e/acl_calc_mask.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/acl_calc_mask.3 Thu Jun 18 19:46:34 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: acl_calc_mask.3,v 1.2 2020/06/18 19:46:34 wiz Exp $ .\"- .\" Copyright (c) 2001 Chris D. Faulhaber .\" All rights reserved. Index: src/lib/libc/posix1e/acl_clear_flags_np.3 diff -u src/lib/libc/posix1e/acl_clear_flags_np.3:1.1 src/lib/libc/posix1e/acl_clear_flags_np.3:1.2 --- src/lib/libc/posix1e/acl_clear_flags_np.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/acl_clear_flags_np.3 Thu Jun 18 19:46:34 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: acl_clear_flags_np.3,v 1.2 2020/06/18 19:46:34 wiz Exp $ .\"- .\" Copyright (c) 2008, 2009 Edward Tomasz Napierala .\" All rights reserved. Index: src/lib/libc/posix1e/acl_clear_perms.3 diff -u src/lib/libc/posix1e/acl_clear_perms.3:1.1 src/lib/libc/posix1e/acl_clear_perms.3:1.2 --- src/lib/libc/posix1e/acl_clear_perms.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/acl_clear_perms.3
CVS commit: src/lib/libc/posix1e
Module Name:src Committed By: wiz Date: Thu Jun 18 19:46:59 UTC 2020 Modified Files: src/lib/libc/posix1e: extattr.3 posix1e.3 Log Message: Add RCS Id. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/posix1e/extattr.3 \ src/lib/libc/posix1e/posix1e.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/posix1e/extattr.3 diff -u src/lib/libc/posix1e/extattr.3:1.1 src/lib/libc/posix1e/extattr.3:1.2 --- src/lib/libc/posix1e/extattr.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/extattr.3 Thu Jun 18 19:46:59 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: extattr.3,v 1.2 2020/06/18 19:46:59 wiz Exp $ .\" .\" Copyright (c) 2001 Dima Dorfman .\" All rights reserved. Index: src/lib/libc/posix1e/posix1e.3 diff -u src/lib/libc/posix1e/posix1e.3:1.1 src/lib/libc/posix1e/posix1e.3:1.2 --- src/lib/libc/posix1e/posix1e.3:1.1 Sat May 16 18:31:47 2020 +++ src/lib/libc/posix1e/posix1e.3 Thu Jun 18 19:46:59 2020 @@ -1,3 +1,4 @@ +.\" $NetBSD: posix1e.3,v 1.2 2020/06/18 19:46:59 wiz Exp $ .\"- .\" Copyright (c) 2000, 2009 Robert N. M. Watson .\" All rights reserved.