On Tue, Sep 20, 2011 at 12:28:53AM +0200, richard -rw- weinberger wrote:
> Can you run strace on it?
> Let's see what the system call returns...

I get this:

capget(0x20080522, 0, NULL)             = 0
getxattr("/usr/libexec/pt_chown", "security.capability", 0xbf9444ac, 20) = -1 
EOPNOTSUPP (Operation not supported)
write(2, "Failed to get capabilities of fi"..., 85Failed to get capabilities of 
file `/usr/libexec/pt_chown' (Operation not supported)
) = 85


Full output below.

- Chris






[root@fedora15 ~]# strace getcap /usr/libexec/pt_chown 
execve("/usr/sbin/getcap", ["getcap", "/usr/libexec/pt_chown"], [/* 19 vars 
*/]) = 0
brk(0)                                  = 0x804a000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4001f000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=71835, ...}) = 0
mmap2(NULL, 71835, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40020000
close(3)                                = 0
open("/lib/libcap.so.2", O_RDONLY)      = 3
read(3, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\r\0\0004\0\0\0"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15148, ...}) = 0
mmap2(NULL, 17908, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x40032000
mmap2(0x40036000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0x40036000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\225\1\0004\0\0\0"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1854840, ...}) = 0
mmap2(NULL, 1620552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x40037000
mprotect(0x401bc000, 4096, PROT_NONE)   = 0
mmap2(0x401bd000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x185) = 0x401bd000
mmap2(0x401c0000, 10824, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401c0000
close(3)                                = 0
open("/lib/libattr.so.1", O_RDONLY)     = 3
read(3, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\r\0\0004\0\0\0"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16816, ...}) = 0
mmap2(NULL, 19572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x401c3000
mmap2(0x401c7000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0x401c7000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x401c8000
set_thread_area({entry_number:-1 -> 6, base_addr:0x401c88d0, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
useable:1}) = 0
mprotect(0x401bd000, 8192, PROT_READ)   = 0
mprotect(0x4001d000, 4096, PROT_READ)   = 0
munmap(0x40020000, 71835)               = 0
lstat64("/usr/libexec/pt_chown", {st_mode=S_IFREG|0755, st_size=23633, ...}) = 0
brk(0)                                  = 0x804a000
brk(0x806b000)                          = 0x806b000
brk(0)                                  = 0x806b000
capget(0x20080522, 0, NULL)             = 0
getxattr("/usr/libexec/pt_chown", "security.capability", 0xbf9444ac, 20) = -1 
EOPNOTSUPP (Operation not supported)
write(2, "Failed to get capabilities of fi"..., 85Failed to get capabilities of 
file `/usr/libexec/pt_chown' (Operation not supported)
) = 85
exit_group(0)                           = ?


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to