Robert Watson
dc6609e6b5
Update license.
2002-02-10 06:14:03 +00:00
Robert Watson
c885aac573
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
Robert Watson
f01dde98e3
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
Chris D. Faulhaber
54d8895199
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
Robert Watson
a17ca2d8a4
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
David E. O'Brien
90e655ea4e
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
David E. O'Brien
ac24b049cc
Remove GCC'isms in CFLAGS.
2001-07-20 04:23:13 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
9ab3ab2770
mdoc(7) police: fixed formatting bug in rev. 1.10.
2001-07-05 07:23:24 +00:00
Dima Dorfman
727b8ed309
Xref to extattr(2) and extattr(3).
2001-06-24 23:59:22 +00:00
Dima Dorfman
3627fb0997
Xref extattr_get_file(2).
2001-06-24 21:13:58 +00:00
Dima Dorfman
cfbcaeda78
Add a namespace argument to one of the examples.
2001-06-24 21:13:01 +00:00
Dima Dorfman
2694efd413
Include missing header files which define functions for which gcc has
...
builtints (e.g., exit, strcmp).
2001-06-24 20:25:23 +00:00
Ruslan Ermilov
03c47dc9cd
Fix LDADD and add missing DPADD.
2001-03-27 16:45:16 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
Robert Watson
db089ead81
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
Robert Watson
187e87911c
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
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Boris Popov
d220443d1c
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
Sheldon Hearn
77f6aff1a4
Minor mdoc markup fixes.
...
Reviewed by: maintainer
2000-05-10 14:50:44 +00:00
Robert Watson
f39abfef82
Minor man page formatting changes and improvements.
...
Suggested by: chris
2000-04-17 00:21:08 +00:00
Robert Watson
e50c89eca8
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
Robert Watson
166eb62fe2
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