#
778f5600 |
| 07-Apr-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments.
|
#
b95742bd |
| 20-Jun-2014 |
manu <manu@NetBSD.org> |
Use returned size and not buffer max length when displaying attribute From Thomas Schmitt <scdbackup@gmx.net>
|
#
4c8f14d2 |
| 20-Jun-2014 |
manu <manu@NetBSD.org> |
Do not record a trailing \0 From Thomas Schmitt <scdbackup@gmx.net>
|
#
488f4cec |
| 17-Jun-2012 |
manu <manu@NetBSD.org> |
Fix off-by-one in hexdump display (getextattr -x), which displayed a trailing garbage byte.
|
#
4624cd84 |
| 16-Sep-2011 |
joerg <joerg@NetBSD.org> |
Use __dead
|
#
6250d393 |
| 14-Jul-2011 |
manu <manu@NetBSD.org> |
Improve extended attribute commands: - allow namespace to be omitted when using a namespace-prefixed attribute name, a la Linux. - Improve hexdump for getextattr -x - Add more display option for bi
Improve extended attribute commands: - allow namespace to be omitted when using a namespace-prefixed attribute name, a la Linux. - Improve hexdump for getextattr -x - Add more display option for binary attributes, using vis(3) - Add a -i option to setextattr to get the attribute value from file, so that we can set binary values
show more ...
|
#
4819c6d1 |
| 04-Jul-2011 |
manu <manu@NetBSD.org> |
Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the filesystem in which format extended attribute shall be listed.
There are currently two formats: - NUL-terminated strings, us
Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the filesystem in which format extended attribute shall be listed.
There are currently two formats: - NUL-terminated strings, used for listxattr(2), this is the default. - one byte length-pprefixed, non NUL-terminated strings, used for extattr_list_file(2), which is obtanined by setting the EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)
This approach avoid the need for converting the list back and forth, except in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may have requested EXTATTR_LIST_PREFIXLEN.
show more ...
|
#
95cd7fcb |
| 28-Jun-2011 |
manu <manu@NetBSD.org> |
Fix previous broken commit for extended attribute listing.
|
#
a33fc63f |
| 27-Jun-2011 |
manu <manu@NetBSD.org> |
Implement extended attribute listing for UFS1.
Modify lsextattr(8) so that it does not expect each attribute name to be prefixed by its length. This enable extattr_list_(file|link|fd) to return a bu
Implement extended attribute listing for UFS1.
Modify lsextattr(8) so that it does not expect each attribute name to be prefixed by its length. This enable extattr_list_(file|link|fd) to return a buffer matching its documentation. This also makes the interface similar to what Linux and FUSE do, which is nice for interoperability.
Note that since we had no EA implementation supporting listing, we do not break anything.
show more ...
|
#
bad76bd4 |
| 24-May-2011 |
joerg <joerg@NetBSD.org> |
Don't use user input as format string
|
#
fc534d00 |
| 17-Jun-2006 |
elad <elad@NetBSD.org> |
mark strpy safe
|
#
8573d5e2 |
| 02-Jun-2005 |
lukem <lukem@NetBSD.org> |
appease gcc -Wuninitialized
|
#
7ec7b5b2 |
| 02-Jan-2005 |
thorpej <thorpej@NetBSD.org> |
Add a getextattr(1)/setextattr(1)/rmextattr(1)/lsextattr(1) utility that gets, sets, removes, and lists file system extended attributes.
From FreeBSD.
|