Commit Graph

25 Commits

Author SHA1 Message Date
rwatson
2c972b1f4d NAI DBA update. 2002-03-14 21:58:58 +00:00
rwatson
f22169622c Update license. 2002-02-10 06:14:03 +00:00
rwatson
97194740be Teach getextattr to query the EA size and allocate appropriate sized
buffers before reading the memory.  Arguably, the failure modes here
are poor, but we can now read >2k EAs.  Also, update the copyrights
and licenses while I'm here.
2002-02-10 06:13:14 +00:00
rwatson
e2f566690b Update userland tools to reflect extattr API changes.
Note that getextattr has not yet been updated to dynamically allocate
a read buffer, although that can now be done.

Obtained from:	TrustedBSD Project
Sponsored by:	NAI Labs
2002-02-10 04:48:26 +00:00
jedgar
0cb92af372 WARNS=2 and style(9) cleanup:
o prototype usage()
o move BUFSIZE define above the functions
o nuke externs that are defined in unistd.h

Approved by:	rwatson
Obtained from:	TrustedBSD Project
2001-12-04 03:28:31 +00:00
rwatson
9fb7f64c7d o Reflect moving of extattr_namespace calls to libc from libutil; no
longer need to link libutil into command-line extended attribute
  utilities.

Obtained from:	TrustedBSD Project
2001-11-16 05:10:35 +00:00
obrien
4b92fa588b Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
obrien
b64625adfb Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
dd
7d1013753f Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ru
ba7cac2912 mdoc(7) police: fixed formatting bug in rev. 1.10. 2001-07-05 07:23:24 +00:00
dd
df9646ccd1 Xref to extattr(2) and extattr(3). 2001-06-24 23:59:22 +00:00
dd
7e13c6aebf Xref extattr_get_file(2). 2001-06-24 21:13:58 +00:00
dd
b04e948781 Add a namespace argument to one of the examples. 2001-06-24 21:13:01 +00:00
dd
f0f948f685 Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).
2001-06-24 20:25:23 +00:00
ru
6b679f791a Fix LDADD and add missing DPADD. 2001-03-27 16:45:16 +00:00
ru
b15a893144 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
42350947e7 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
rwatson
57f60ab234 o Rename "namespace" argument to "attrnamespace" as namespace is a C++
reserved word.

Submitted by:	jkh
Obtained from:	TrustedBSD Project
2001-03-19 05:56:02 +00:00
rwatson
9685c45e76 o Update getextattr and setextattr utilities to take into account the
revised EA interface with explicit namespacing.  Link against libutil
  to provide string/constant conversion for namespaces.  Document
  revised interface.

Obtained from:	TrustedBSD Project
2001-03-15 03:09:48 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
bp
aa49a55cd1 Add the '-l' option which prints string attribute followed by a file name.
Reviewed by:	rwatson, sheldonh
2000-05-11 10:00:22 +00:00
sheldonh
f86152da43 Minor mdoc markup fixes.
Reviewed by:	maintainer
2000-05-10 14:50:44 +00:00
rwatson
2ede6090d7 Minor man page formatting changes and improvements.
Suggested by:	chris
2000-04-17 00:21:08 +00:00
rwatson
ddb7b7f036 Code compiles and installs 100% better if included in the Makefile.
Suggested by:	Voices in my head.
2000-04-16 23:57:02 +00:00
rwatson
a36c25f99b Introduce userland utilities to set and get extended attributes. These
utilities do not present the world's greatest interface, and will
undoubtably change soon.  However, they do let people experiment with
extended attributes, and provide samples of how to use the syscalls.

Obtained from:	TrustedBSD
2000-04-16 20:55:50 +00:00