319550 |
03-Jun-2017 |
ngie |
MFC r316503,r316504,r316505:
r316503:
Clean up trailing whitespace
r316504:
Clean up more trailing whitespace in the licensing tort that happened to be spaces, not tabs
r316505:
Don't assume NAME_MAX is 255
Query the filesystem limit via getconf(3) instead |
302675 |
12-Jul-2016 |
asomers |
MFC r301874
Fix usr.sbin/extattr testcases on tmpfs
Skip the usr.sbin/extattr testscases if $TMPDIR is tmpfs, which doesn't support extended attributes |
301145 |
01-Jun-2016 |
asomers |
MFC r298483, r298744, r299085, r299087, and r300747 to usr.sbin/extattr
r300747 | asomers | 2016-05-26 08:26:49 -0600 (Thu, 26 May 2016) | 8 lines
rmextattr(8) man page clarifications regarding -qq
r299087 | asomers | 2016-05-04 15:07:30 -0600 (Wed, 04 May 2016) | 13 lines
Fix "getextattr -x" with non-ascii attribute values
extattr/rmextattr.c When printing hex output, treat all attribute values as unsigned char arrays instead of sign extending them to 32 bit values.
extattr/tests/extattr_test.sh Add a regression test
r299085 | asomers | 2016-05-04 14:20:55 -0600 (Wed, 04 May 2016) | 30 lines
Allow setextattr(8) to take attribute values from stdin
Add the -i option to setextattr. This option allow extended attribute data to be provided via stdin. Add a -qq option to getextattr, which omits the trailing newline. Together these options can be used to work with extended attributes whose values are large and/or binary.
usr.sbin/extattr/Makefile: Link against libsbuf which is used for processing stdin data.
usr.sbin/extattr/rmextattr.8: Document setextattr's -i option, getextattr's -qq option, and remove the BUG about setextattr only being useful for strings.
usr.sbin/extattr/rmextattr.c: For setextattr operations, buffer attribute data in an sbuf. If -i is specified, pull the data from stdin, otherwise from the appropriate argurment.
Update usage text and argument validation code for setextattr's -i option.
usr.sbin/extattr/tests/extattr_test.sh Add tests for -q and -i.
r298744 | asomers | 2016-04-28 09:13:50 -0600 (Thu, 28 Apr 2016) | 11 lines
Add PACKAGE fields to usr.sbin/extattr/tests/Makefile
usr.sbin/extattr/tests/Makefile Add boiler plate required by 298107 but omitted by 298483. These two changes passed through CR in parallel. I think this should get the full test suite running in Jenkins again.
r298483 | asomers | 2016-04-22 11:02:47 -0600 (Fri, 22 Apr 2016) | 10 lines
Add ATF tests for usr.sbin/extattr
Add ATF tests for the existing behavior of setextattr, rmextattr, lsextattr, and getextattr.
Sponsored by: Spectra Logic Corp |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
248995 |
02-Apr-2013 |
mdf |
Fix return type of extattr_set_* and fix rmextattr(8) utility.
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
|
247164 |
22-Feb-2013 |
pjd |
Don't print an empty line for files with no attributes when -q is given for lsextattr(8).
|
208004 |
12-May-2010 |
zml |
extattr: Fix a signed/unsigned issue
Submitted by: Matthew Fleming <matthew.fleming@isilon.com> Reviewed by: zml, dfr
|
202734 |
21-Jan-2010 |
nwhitehorn |
Fix a bug when printing attributes from multiple files: buflen could be 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.
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
180537 |
15-Jul-2008 |
rwatson |
Invoke err() with a format string rather than directly with a passed command line argument.
Submitted by: Alfredo Ortega <alfredo at coresecurity dot com> Thanks to: Core Security Technologies MFC after: 3 days
|
115864 |
05-Jun-2003 |
rwatson |
Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 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
|
111447 |
24-Feb-2003 |
ru |
mdoc(7) police: Scheduled sweep.
|
104805 |
10-Oct-2002 |
green |
Document the -n option and fix manpage Fl usage.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
|
104803 |
10-Oct-2002 |
green |
Add an -n option to write the trailing nul byte to the extattr when using setextattr(8) to write a string.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
|
104801 |
10-Oct-2002 |
green |
Correct argc verification (don't crash).
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
|
104798 |
10-Oct-2002 |
rwatson |
Add -h flags to each of the *extattr(8) commands, indicating that 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
|
104796 |
10-Oct-2002 |
rwatson |
Use basename(3) to derive the name of the binary from argv[0].
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Submitted by: green
|
102607 |
30-Aug-2002 |
phk |
Add the new userland tool for manipulating extended attributes.
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.
|