9 Commits

Author SHA1 Message Date
6156d81cef xattr.c: make use of RVAL_DECODED
* xattr.c (sys_setxattr, sys_fsetxattr, sys_removexattr,
sys_fremovexattr): Update for RVAL_DECODED.
2015-07-14 23:38:58 +00:00
105c35bb19 print_xattr_val: do not fetch data in case of !verbose || syserror
* xattr.c (print_xattr_val): Do not fetch data in case
of !verbose || syserror.   Use printaddr.
2015-07-14 23:34:06 +00:00
8ae9c0913e print_xattr_list: use printaddr
* xattr.c (print_xattr_list): Use printaddr.
2015-07-14 23:31:35 +00:00
d45548d82e print_xattr_val: remove unused argument
* xattr.c (print_xattr_val): Remove unused "failed" argument.
(sys_setxattr, sys_fsetxattr, sys_getxattr, sys_fgetxattr): Update
all callers.
2015-07-14 23:29:47 +00:00
7a9ec1273c print_xattr_list: remove redundant address check
* xattr.c (print_xattr_list): Do not check for NULL the address passed
to printstr.
2015-07-14 23:29:12 +00:00
0c5619538f xattr: move fallback definitions of xattr flags to xlat/
* xattr.c: Include <sys/xattr.h> insread of <linux/xattr.h>.
Move definitions of XATTR_* flags ...
* xlat/xattrflags.in: ... here.
2015-06-17 19:56:11 +00:00
a0bd3749fc Declare syscall parsers using SYS_FUNC macro
Introduce SYS_FUNC macro to declare and define all syscall parsers.

* Makefile.am (BUILT_SOURCES, CLEANFILES): Add sys_func.h.
(sys_func.h): New rule.
* defs.h (SYS_FUNC_NAME, SYS_FUNC): New macros.
* linux/syscall.h: Include "sys_func.h".
[NEED_UID16_PARSERS]: Use SYS_FUNC to declare uid16 syscall parsers.
Remove other declarations.
* linux/alpha/syscallent.h (160, 161): Add sys_ prefix to osf_statfs
and osf_fstatfs syscall parsers.
* *.c: Use SYS_FUNC to define syscall parsers.
2015-04-07 11:22:49 +00:00
73e98805dd xattr: quote using print_quoted_string
* xattr.c (print_xattr_val): Drop local quoting code, use
print_quoted_string.
2015-01-26 19:08:37 +00:00
769ffe9797 file.c: move *xattr parsers to a separate file
* xattr.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* file.c: Move sys_setxattr, sys_fsetxattr, sys_getxattr, sys_fgetxattr,
sys_listxattr, sys_flistxattr, sys_removexattr, sys_fremovexattr,
and related code to xattr.c.
2014-12-11 21:38:51 +00:00