summaryrefslogtreecommitdiffstats
path: root/usr.sbin/getextattr/getextattr.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch over to the new EA manipulation utilities.phk2002-09-021-177/+0
| | | | Sponsored by: DARPA & NAI Labs.
* Fix buildworld breakage.roberto2002-08-201-1/+1
| | | | Pointy hat: phk
* Be consistent about quoting things.phk2002-08-201-26/+44
| | | | | | | | | Be (somewhat) prepared for things to change size under us. Recognize a empty attribute name as magic and print the list of attributes. Use <err.h> for code clarity. Deal with zero length returns. Sponsored by: DARPA & NAI Labs.
* Make usage match options.dwmalone2002-07-271-1/+1
| | | | Approved by: rwatson
* NAI DBA update.rwatson2002-03-141-1/+1
|
* Update license.rwatson2002-02-101-1/+3
|
* Teach getextattr to query the EA size and allocate appropriate sizedrwatson2002-02-101-6/+31
| | | | | | 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.
* Update userland tools to reflect extattr API changes.rwatson2002-02-101-5/+6
| | | | | | | | 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
* WARNS=2 and style(9) cleanup:jedgar2001-12-041-5/+4
| | | | | | | | | 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
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtints (e.g., exit, strcmp).
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-191-5/+5
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Update getextattr and setextattr utilities to take into account therwatson2001-03-151-8/+15
| | | | | | | | revised EA interface with explicit namespacing. Link against libutil to provide string/constant conversion for namespaces. Document revised interface. Obtained from: TrustedBSD Project
* Add the '-l' option which prints string attribute followed by a file name.bp2000-05-111-3/+12
| | | | Reviewed by: rwatson, sheldonh
* Introduce userland utilities to set and get extended attributes. Theserwatson2000-04-161-0/+115
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
OpenPOWER on IntegriCloud