Module Name:    src
Committed By:   christos
Date:           Sun Mar  9 16:31:18 UTC 2025

Modified Files:
        src/lib/libc/gen: Makefile.inc
        src/lib/libc/posix1e: extattr.3
Removed Files:
        src/lib/libc/gen: extattr_namespace_to_string.3

Log Message:
move the man page in the same place as FreeBSD for consistency.


To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r1.1 -r0 src/lib/libc/gen/extattr_namespace_to_string.3
cvs rdiff -u -r1.5 -r1.6 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/gen/Makefile.inc
diff -u src/lib/libc/gen/Makefile.inc:1.221 src/lib/libc/gen/Makefile.inc:1.222
--- src/lib/libc/gen/Makefile.inc:1.221	Wed Oct  2 14:12:35 2024
+++ src/lib/libc/gen/Makefile.inc	Sun Mar  9 12:31:18 2025
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.221 2024/10/02 18:12:35 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.222 2025/03/09 16:31:18 christos Exp $
 #	from: @(#)Makefile.inc	8.6 (Berkeley) 5/4/95
 
 # gen sources
@@ -112,8 +112,7 @@ MLINKS+=err.3 verr.3 err.3 errx.3 err.3 
 	err.3 vwarnc.3
 MLINKS+=exec.3 execl.3 exec.3 execle.3 exec.3 execlp.3 exec.3 execlpe.3 \
 	exec.3 execv.3 exec.3 execvp.3 exec.3 execvpe.3 exec.3 exect.3 
-MLINKS+=extattr_namespace_to_string.3 extattr_string_to_namespace.3 \
-	extattr_copy_file.3 extattr_copy_fd.3 \
+MLINKS+=extattr_copy_file.3 extattr_copy_fd.3 \
 	extattr_copy_file.3 extattr_copy_link.3 \
 	extattr_copy_file.3 cpxattr.3 \
 	extattr_copy_file.3 fcpxattr.3 \

Index: src/lib/libc/posix1e/extattr.3
diff -u src/lib/libc/posix1e/extattr.3:1.5 src/lib/libc/posix1e/extattr.3:1.6
--- src/lib/libc/posix1e/extattr.3:1.5	Sun Mar  9 12:24:38 2025
+++ src/lib/libc/posix1e/extattr.3	Sun Mar  9 12:31:18 2025
@@ -1,6 +1,7 @@
-.\" $NetBSD: extattr.3,v 1.5 2025/03/09 16:24:38 christos Exp $
+.\"	$NetBSD: extattr.3,v 1.6 2025/03/09 16:31:18 christos Exp $
 .\"
 .\" Copyright (c) 2001 Dima Dorfman <d...@freebsd.org>
+.\" Copyright (c) 2011 Emmanuel Dreyfus <m...@netbsd.org>
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -24,19 +25,19 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd March 9, 2025
-.Dt EXTATTR 3
+.\" FreeBSD: src/lib/libc/posix1e/extattr.3,v 1.5 2002/12/12 17:25:53 ru Exp
+.\"
+.Dd December 16, 2011
+.Dt EXTATTR_NAMESPACE_TO_STRING 3
 .Os
 .Sh NAME
 .Nm extattr_namespace_to_string ,
 .Nm extattr_string_to_namespace
-.Nd convert an extended attribute namespace identifier to a string and
-vice versa
+.Nd convert an extended attribute namespace identifier to a string and vice versa
 .Sh LIBRARY
-.Lb libutil
+.Lb libc
 .Sh SYNOPSIS
 .In sys/extattr.h
-.In libutil.h
 .Ft int
 .Fn extattr_namespace_to_string "int attrnamespace" "char **string"
 .Ft int
@@ -45,11 +46,10 @@ vice versa
 The
 .Fn extattr_namespace_to_string
 function converts a VFS extended attribute identifier to a human-readable
-string;
-the
+string.
+The
 .Fn extattr_string_to_namespace
-function undoes the aforementioned operation,
-and converts a human-readable string representing a namespace to a
+converts a human-readable string representing a namespace to a
 namespace identifier.
 Although a file system may implement arbitrary namespaces,
 these functions only support the
@@ -86,16 +86,16 @@ 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 getextattr 1 ,
+.Xr extattr_get_file 2 ,
+.Xr extattr_copy_file 3 ,
 .Xr extattr 9
 .Sh HISTORY
 Extended attribute support was developed as part of the
 .Tn TrustedBSD
 Project, and introduced in
-.Fx 5.0 .
+.Fx 5.0
+and
+.Nx 3.0 .
 It was developed to support security extensions requiring additional labels
 to be associated with each file or directory.
-This manual page was added to
-.Nx 11.0 .

Reply via email to