Revision tags: release/14.0.0 |
|
#
b3e76948 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0 |
|
#
a5aa07dd |
| 02-Mar-2023 |
Elyes Haouas <ehaouas@noos.fr> |
extattr: Remove useless return at the end of void function
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/656
|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
1137d1a7 |
| 16-Jan-2020 |
Alan Somers <asomers@FreeBSD.org> |
setextattr: Increase stdin buffer size to 4096
Extended attribute values can potentially be quite large. One test for ZFS is supposed to set a 200MB xattr. However, the buffer size for reading value
setextattr: Increase stdin buffer size to 4096
Extended attribute values can potentially be quite large. One test for ZFS is supposed to set a 200MB xattr. However, the buffer size for reading values from stdin with setextattr -i is so small that the test times out waiting for tiny chunks of data to be buffered and appended to an sbuf.
Increasing the buffer size should help alleviate some of the burden of reallocating larger sbufs when writing large extended attributes.
Submitted by: Ryan Moeller <ryan@freqlabs.com> MFC after: 2 weeks Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D23211
show more ...
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
1de7b4b8 |
| 27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0 |
|
#
79e29f95 |
| 04-May-2016 |
Alan Somers <asomers@FreeBSD.org> |
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
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
PR: 209039 MFC after: 4 weeks Sponsored by: Spectra Logic Corp
show more ...
|
#
c29930cf |
| 04-May-2016 |
Alan Somers <asomers@FreeBSD.org> |
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 omi
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.
Reviewed by: wblock (manpage) MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6090
show more ...
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0 |
|
#
40f65a4d |
| 07-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r254014
|
#
552311f4 |
| 17-Jul-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @253398
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0 |
|
#
69e6d7b7 |
| 12-Apr-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
sync from head
|
#
e324bf91 |
| 02-Apr-2013 |
Matthew D Fleming <mdf@FreeBSD.org> |
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-s
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
show more ...
|
#
d241a0e6 |
| 26-Feb-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @247348.
|
#
081b42f9 |
| 22-Feb-2013 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Don't print an empty line for files with no attributes when -q is given for lsextattr(8).
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0 |
|
#
07c19910 |
| 12-May-2010 |
Zachary Loafman <zml@FreeBSD.org> |
extattr: Fix a signed/unsigned issue
Submitted by: Matthew Fleming <matthew.fleming@isilon.com> Reviewed by: zml, dfr
|
Revision tags: release/7.3.0_cvs, release/7.3.0 |
|
#
1a0fda2b |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
IFH@204581
|
#
deccdf0e |
| 21-Jan-2010 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
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, longe
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.
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
b689e6a8 |
| 15-Jul-2008 |
Robert Watson <rwatson@FreeBSD.org> |
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 a
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
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
52271f82 |
| 05-Jun-2003 |
Robert Watson <rwatson@FreeBSD.org> |
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: TrustedBS
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
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
cb0187a0 |
| 10-Oct-2002 |
Brian Feldman <green@FreeBSD.org> |
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
|
#
878382fa |
| 10-Oct-2002 |
Brian Feldman <green@FreeBSD.org> |
Correct argc verification (don't crash).
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
|
#
6c3fb112 |
| 10-Oct-2002 |
Robert Watson <rwatson@FreeBSD.org> |
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 i
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
show more ...
|
#
7522ecb3 |
| 10-Oct-2002 |
Robert Watson <rwatson@FreeBSD.org> |
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
|
Revision tags: release/4.7.0_cvs |
|
#
a068c194 |
| 30-Aug-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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, rm
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.
show more ...
|
#
deccdf0e |
| 21-Jan-2010 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
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, longe
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.
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
b689e6a8 |
| 15-Jul-2008 |
Robert Watson <rwatson@FreeBSD.org> |
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 a
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
show more ...
|