aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/extattr
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * sync from headSimon J. Gerraty2013-04-121-27/+34
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=249429
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | Fix return type of extattr_set_* and fix rmextattr(8) utility.Matthew D Fleming2013-04-021-27/+33
| | | | | | | | | | | | | | | | | | | | | | | | extattr_set_{fd,file,link} is logically a write(2)-like operation and should return ssize_t, just like extattr_get_*. Also, the user-space utility was using an int for the return value of extattr_get_* and extattr_list_*, both of which return an ssize_t. MFC after: 1 week Notes: svn path=/head/; revision=248995
* | Don't print an empty line for files with no attributes when -q is given forPawel Jakub Dawidek2013-02-221-1/+2
|/ | | | | | | lsextattr(8). Notes: svn path=/head/; revision=247164
* extattr: Fix a signed/unsigned issueZachary Loafman2010-05-121-2/+5
| | | | | | | | Submitted by: Matthew Fleming <matthew.fleming@isilon.com> Reviewed by: zml, dfr Notes: svn path=/head/; revision=208004
* Fix a bug when printing attributes from multiple files: buflen could beNathan Whitehorn2010-01-211-1/+1
| | | | | | | | | longer than the length of the current attribute if the buffer were reused and previously longer, so bits of the previous, longer attribute would be written. Fix this by using the actual attribute length. Notes: svn path=/head/; revision=202734
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-2/+0
| | | | Notes: svn path=/head/; revision=201390
* Invoke err() with a format string rather than directly with a passedRobert Watson2008-07-151-1/+1
| | | | | | | | | | | command line argument. Submitted by: Alfredo Ortega <alfredo at coresecurity dot com> Thanks to: Core Security Technologies MFC after: 3 days Notes: svn path=/head/; revision=180537
* Update lsextattr(8) to use the new extattr_list_*() APIs, rather thanRobert Watson2003-06-051-12/+28
| | | | | | | | | | | using the somewhat more hackish variant on extattr_get_*() to retrieve the attribute list on an object. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=115864
* mdoc(7) police: Scheduled sweep.Ruslan Ermilov2003-02-241-17/+32
| | | | Notes: svn path=/head/; revision=111447
* Document the -n option and fix manpage Fl usage.Brian Feldman2002-10-101-6/+8
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=104805
* Add an -n option to write the trailing nul byte to the extattr whenBrian Feldman2002-10-101-4/+10
| | | | | | | | | | using setextattr(8) to write a string. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=104803
* Correct argc verification (don't crash).Brian Feldman2002-10-101-2/+7
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=104801
* Add -h flags to each of the *extattr(8) commands, indicating thatRobert Watson2002-10-102-20/+43
| | | | | | | | | | | | | the command should not follow the symlink if the target file is a symlink. Invoke the extattr_*_link(2) version of the system call in that situation, instead of extattr_*_file(2). This is consistent with other attribute management tools in the system. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=104798
* Use basename(3) to derive the name of the binary from argv[0].Robert Watson2002-10-101-1/+2
| | | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Submitted by: green Notes: svn path=/head/; revision=104796
* Add the new userland tool for manipulating extended attributes.Poul-Henning Kamp2002-08-303-0/+369
This will replace the existing getextattr(8) and setextattr(8) with a single binary responding to the names getextattr, setextattr, rmextattr and lsextattr. This program is not yet connected to the build. Sponsored by: DARPA and NAI Labs. Notes: svn path=/head/; revision=102607