Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
6936 execve("/usr/bin/securefs", ["securefs", "mount", "/home/glitsj16/.007/.stash_sfs", "/home/glitsj16/.007/lab16.007"], 0x7ffdf26ce700 /* 142 vars */) = 0
6936 brk(NULL) = 0x55bb39f3d000
6936 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffddc705530) = -1 EINVAL (Invalid argument)
6936 access("/etc/ld.so.preload", R_OK) = 0
6936 openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
6936 fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
6936 close(3) = 0
6936 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
6936 fstat(3, {st_mode=S_IFREG|0644, st_size=213958, ...}) = 0
6936 mmap(NULL, 213958, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbfe538d000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libfuse.so.2", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \200\0\0\0\0\0\0"..., 832) = 832
6936 fstat(3, {st_mode=S_IFREG|0755, st_size=1081832, ...}) = 0
6936 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfe538b000
6936 mmap(NULL, 254240, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe534c000
6936 mprotect(0x7fbfe5354000, 147456, PROT_NONE) = 0
6936 mmap(0x7fbfe5354000, 102400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fbfe5354000
6936 mmap(0x7fbfe536d000, 40960, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x7fbfe536d000
6936 mmap(0x7fbfe5378000, 77824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b000) = 0x7fbfe5378000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\22\0\0\0\0\0\0"..., 832) = 832
6936 fstat(3, {st_mode=S_IFREG|0755, st_size=14512, ...}) = 0
6936 mmap(NULL, 16528, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe5347000
6936 mmap(0x7fbfe5348000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fbfe5348000
6936 mmap(0x7fbfe5349000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbfe5349000
6936 mmap(0x7fbfe534a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fbfe534a000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@`\t\0\0\0\0\0"..., 832) = 832
6936 fstat(3, {st_mode=S_IFREG|0755, st_size=22616248, ...}) = 0
6936 mmap(NULL, 2004608, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe515d000
6936 mmap(0x7fbfe51f3000, 1019904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x96000) = 0x7fbfe51f3000
6936 mmap(0x7fbfe52ec000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18f000) = 0x7fbfe52ec000
6936 mmap(0x7fbfe5336000, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d8000) = 0x7fbfe5336000
6936 mmap(0x7fbfe5344000, 9856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfe5344000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\363\0\0\0\0\0\0"..., 832) = 832
6936 fstat(3, {st_mode=S_IFREG|0755, st_size=1329264, ...}) = 0
6936 mmap(NULL, 1331224, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe5017000
6936 mmap(0x7fbfe5026000, 638976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7fbfe5026000
6936 mmap(0x7fbfe50c2000, 626688, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xab000) = 0x7fbfe50c2000
6936 mmap(0x7fbfe515b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143000) = 0x7fbfe515b000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 0\0\0\0\0\0\0"..., 832) = 832
6936 fstat(3, {st_mode=S_IFREG|0644, st_size=873816, ...}) = 0
6936 mmap(NULL, 103152, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe4ffd000
6936 mmap(0x7fbfe5000000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfe5000000
6936 mmap(0x7fbfe5011000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fbfe5011000
6936 mmap(0x7fbfe5015000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fbfe5015000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\201\0\0\0\0\0\0"..., 832) = 832
6936 lseek(3, 824, SEEK_SET) = 824
6936 read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\213\4\321\202[c\331\246\0\343\325z\307\20X\223"..., 68) = 68
6936 fstat(3, {st_mode=S_IFREG|0755, st_size=159824, ...}) = 0
6936 lseek(3, 824, SEEK_SET) = 824
6936 read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\213\4\321\202[c\331\246\0\343\325z\307\20X\223"..., 68) = 68
6936 mmap(NULL, 135592, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe4fdb000
6936 mmap(0x7fbfe4fe2000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbfe4fe2000
6936 mmap(0x7fbfe4ff2000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fbfe4ff2000
6936 mmap(0x7fbfe4ff7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fbfe4ff7000
6936 mmap(0x7fbfe4ff9000, 12712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfe4ff9000
6936 close(3) = 0
6936 openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
6936 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`r\2\0\0\0\0\0"..., 832) = 832
6936 lseek(3, 64, SEEK_SET) = 64
6936 read(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
6936 lseek(3, 848, SEEK_SET) = 848
6936 read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
6936 lseek(3, 880, SEEK_SET) = 880
6936 read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
6936 fstat(3, {st_mode=S_IFREG|0755, st_size=2149496, ...}) = 0
6936 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfe4fd9000
6936 lseek(3, 64, SEEK_SET) = 64
6936 read(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
6936 lseek(3, 848, SEEK_SET) = 848
6936 read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
6936 lseek(3, 880, SEEK_SET) = 880
6936 read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
6936 mmap(NULL, 1860536, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfe4e12000
6936 mprotect(0x7fbfe4e37000, 1671168, PROT_NONE) = 0
6936 mmap(0x7fbfe4e37000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fbfe4e37000
6936 mmap(0x7fbfe4f84000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7fbfe4f84000
6936 mmap(0x7fbfe4fcf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bc000) = 0x7fbfe4fcf000
6936 mmap(0x7fbfe4fd5000, 13240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfe4fd5000
6936 close(3) = 0
6936 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfe4e10000
6936 arch_prctl(ARCH_SET_FS, 0x7fbfe4e11080) = 0
6936 mprotect(0x7fbfe4fcf000, 12288, PROT_READ) = 0
6936 mprotect(0x7fbfe4ff7000, 4096, PROT_READ) = 0
6936 mprotect(0x7fbfe5015000, 4096, PROT_READ) = 0
6936 mprotect(0x7fbfe515b000, 4096, PROT_READ) = 0
6936 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfe4e0e000
6936 mprotect(0x7fbfe5336000, 53248, PROT_READ) = 0
6936 mprotect(0x7fbfe534a000, 4096, PROT_READ) = 0
6936 mprotect(0x7fbfe5378000, 73728, PROT_READ) = 0
6936 mprotect(0x55bb39ec7000, 471040, PROT_READ) = 0
6936 mprotect(0x7fbfe53ec000, 4096, PROT_READ) = 0
6936 munmap(0x7fbfe538d000, 213958) = 0
6936 set_tid_address(0x7fbfe4e11350) = 6936
6936 set_robust_list(0x7fbfe4e11360, 24) = 0
6936 rt_sigaction(SIGRTMIN, {sa_handler=0x7fbfe4fe2c40, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fbfe4fef930}, NULL, 8) = 0
6936 rt_sigaction(SIGRT_1, {sa_handler=0x7fbfe4fe2ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fbfe4fef930}, NULL, 8) = 0
6936 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
6936 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
6936 brk(NULL) = 0x55bb39f3d000
6936 brk(0x55bb39f5e000) = 0x55bb39f5e000
6936 rt_sigaction(SIGILL, {sa_handler=0x55bb39d4d0f0, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
6936 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6936 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
6936 rt_sigaction(SIGILL, {sa_handler=SIG_DFL, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, {sa_handler=0x55bb39d4d0f0, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, 8) = 0
6936 rt_sigaction(SIGILL, {sa_handler=0x55bb39d4d0f0, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, {sa_handler=SIG_DFL, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, 8) = 0
6936 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6936 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
6936 rt_sigaction(SIGILL, {sa_handler=SIG_DFL, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, {sa_handler=0x55bb39d4d0f0, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, 8) = 0
6936 rt_sigaction(SIGILL, {sa_handler=0x55bb39d4d0f0, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, {sa_handler=SIG_DFL, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, 8) = 0
6936 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6936 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
6936 rt_sigaction(SIGILL, {sa_handler=SIG_DFL, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, {sa_handler=0x55bb39d4d0f0, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fbfe4e4dfb0}, 8) = 0
6936 futex(0x7fbfe53446bc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
6936 futex(0x7fbfe53446c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
6936 ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
6936 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
6936 ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
6936 write(2, "Password: ", 10) = 10
6936 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
6936 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
6936 fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
6936 read(0, "********************************"..., 1024) = 65
6936 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
6936 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
6936 write(2, "\n", 1) = 1
6936 mkdirat(AT_FDCWD, "/home/glitsj16/.007/lab16.007", 0755) = -1 EEXIST (File exists)
6936 futex(0x7fbfe5016060, FUTEX_WAKE_PRIVATE, 2147483647) = 0
6936 openat(AT_FDCWD, "/home/glitsj16/.007/.stash_sfs/.securefs.json", O_RDONLY) = 3
6936 read(3, "{\"encrypted_key\":{\"IV\":\"b2be1560"..., 4000) = 311
6936 read(3, "", 4000) = 0
6936 close(3) = 0
6936 prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=500000}) = 0
6936 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=80*1024, rlim_max=500000}, NULL) = 0
6936 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=163839, rlim_max=500000}, NULL) = 0
6936 lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/home/glitsj16", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/home/glitsj16/.007", {st_mode=S_IFLNK|0777, st_size=26, ...}) = 0
6936 readlink("/home/glitsj16/.007", "/mnt/lab16.sda3/user/.007/", 4095) = 26
6936 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3/user/.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3/user/.007/.stash_sfs", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
6936 openat(AT_FDCWD, "/home/glitsj16/.007/.stash_sfs", O_RDONLY) = 3
6936 openat(3, ".securefs.lock", O_RDONLY|O_CREAT|O_EXCL, 0644) = 4
6936 lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/home/glitsj16", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/home/glitsj16/.007", {st_mode=S_IFLNK|0777, st_size=26, ...}) = 0
6936 readlink("/home/glitsj16/.007", "/mnt/lab16.sda3/user/.007/", 4095) = 26
6936 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3/user/.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
6936 lstat("/mnt/lab16.sda3/user/.007/lab16.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
6936 openat(AT_FDCWD, "/dev/null", O_RDWR) = 5
6936 close(5) = 0
6936 stat("/mnt/lab16.sda3/user/.007/lab16.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
6936 openat(AT_FDCWD, "/mnt/lab16.sda3/user/.007/lab16.007", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5
6936 fstat(5, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
6936 getdents64(5, /* 2 entries */, 32768) = 48
6936 getdents64(5, /* 0 entries */, 32768) = 0
6936 close(5) = 0
6936 openat(AT_FDCWD, "/dev/fuse", O_RDWR) = 5
6936 getgid() = 1001
6936 getuid() = 1001
6936 mount("securefs", "/mnt/lab16.sda3/user/.007/lab16.007", "fuse.securefs", MS_NOSUID|MS_NODEV, "fd=5,rootmode=40000,user_id=1001"...) = -1 EPERM (Operation not permitted)
6936 close(5) = 0
6936 socketpair(AF_UNIX, SOCK_STREAM, 0, [5, 6]) = 0
6936 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fbfe4e11350) = 7044
7044 set_robust_list(0x7fbfe4e11360, 24 <unfinished ...>
6936 close(5 <unfinished ...>
7044 <... set_robust_list resumed>) = 0
6936 <... close resumed>) = 0
6936 recvmsg(6, <unfinished ...>
7044 openat(AT_FDCWD, "/dev/null", O_RDONLY) = 7
7044 dup2(7, 1) = 1
7044 dup2(7, 2) = 2
7044 close(6) = 0
7044 fcntl(5, F_SETFD, 0) = 0
7044 execve("/usr/bin/fusermount", ["fusermount", "-o", "rw,nosuid,nodev,subtype=securefs", "--", "/mnt/lab16.sda3/user/.007/lab16."...], 0x55bb39f55070 /* 143 vars */) = 0
7044 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
7044 brk(NULL) = 0x5622f4b1a000
7044 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffcadbdeb00) = -1 EINVAL (Invalid argument)
7044 fcntl(0, F_GETFD) = 0
7044 fcntl(1, F_GETFD) = 0
7044 fcntl(2, F_GETFD) = 0
7044 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
7044 access("/etc/ld.so.preload", R_OK) = 0
7044 openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 6
7044 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
7044 close(6) = 0
7044 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6
7044 fstat(6, {st_mode=S_IFREG|0644, st_size=213958, ...}) = 0
7044 mmap(NULL, 213958, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7fd34da2c000
7044 close(6) = 0
7044 openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 6
7044 read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`r\2\0\0\0\0\0"..., 832) = 832
7044 lseek(6, 64, SEEK_SET) = 64
7044 read(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
7044 lseek(6, 848, SEEK_SET) = 848
7044 read(6, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
7044 lseek(6, 880, SEEK_SET) = 880
7044 read(6, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
7044 fstat(6, {st_mode=S_IFREG|0755, st_size=2149496, ...}) = 0
7044 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd34da2a000
7044 lseek(6, 64, SEEK_SET) = 64
7044 read(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
7044 lseek(6, 848, SEEK_SET) = 848
7044 read(6, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
7044 lseek(6, 880, SEEK_SET) = 880
7044 read(6, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
7044 mmap(NULL, 1860536, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fd34d863000
7044 mprotect(0x7fd34d888000, 1671168, PROT_NONE) = 0
7044 mmap(0x7fd34d888000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x25000) = 0x7fd34d888000
7044 mmap(0x7fd34d9d5000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x172000) = 0x7fd34d9d5000
7044 mmap(0x7fd34da20000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1bc000) = 0x7fd34da20000
7044 mmap(0x7fd34da26000, 13240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd34da26000
7044 close(6) = 0
7044 arch_prctl(ARCH_SET_FS, 0x7fd34da2b580) = 0
7044 mprotect(0x7fd34da20000, 12288, PROT_READ) = 0
7044 mprotect(0x5622f4b18000, 4096, PROT_READ) = 0
7044 mprotect(0x7fd34da8b000, 4096, PROT_READ) = 0
7044 munmap(0x7fd34da2c000, 213958) = 0
7044 brk(NULL) = 0x5622f4b1a000
7044 brk(0x5622f4b3b000) = 0x5622f4b3b000
7044 getuid() = 1001
7044 getuid() = 1001
7044 setfsuid(1001) = 1001
7044 getgid() = 1001
7044 setfsgid(1001) = 1001
7044 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
7044 lstat("/mnt/lab16.sda3", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
7044 lstat("/mnt/lab16.sda3/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
7044 lstat("/mnt/lab16.sda3/user/.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7044 chdir("/") = 0
7044 getuid() = 1001
7044 setfsuid(1001) = 1001
7044 setfsgid(1001) = 1001
7044 umask(033) = 022
7044 getuid() = 1001
7044 getuid() = 1001
7044 setfsuid(1001) = 1001
7044 getgid() = 1001
7044 setfsgid(1001) = 1001
7044 openat(AT_FDCWD, "/dev/fuse", O_RDWR) = 6
7044 getuid() = 1001
7044 setfsuid(1001) = 1001
7044 setfsgid(1001) = 1001
7044 getuid() = 1001
7044 getuid() = 1001
7044 setfsuid(1001) = 1001
7044 getgid() = 1001
7044 setfsgid(1001) = 1001
7044 openat(AT_FDCWD, "/etc/fuse.conf", O_RDONLY) = 8
7044 fstat(8, {st_mode=S_IFREG|0644, st_size=694, ...}) = 0
7044 read(8, "# The file /etc/fuse.conf allows"..., 4096) = 694
7044 read(8, "", 4096) = 0
7044 close(8) = 0
7044 getuid() = 1001
7044 openat(AT_FDCWD, "/etc/mtab", O_RDONLY|O_CLOEXEC) = 8
7044 fstat(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
7044 read(8, "proc /proc proc rw,nosuid,nodev,"..., 1024) = 1024
7044 read(8, "up/rdma cgroup rw,nosuid,nodev,n"..., 1024) = 1024
7044 read(8, "0\nconfigfs /sys/kernel/config co"..., 1024) = 1024
7044 read(8, "\nroot@do16:/ /mnt/do16 fuse.sshf"..., 1024) = 96
7044 read(8, "", 1024) = 0
7044 close(8) = 0
7044 lstat("/mnt/lab16.sda3/user/.007/lab16.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7044 getuid() = 1001
7044 chdir("/mnt/lab16.sda3/user/.007/lab16.007") = 0
7044 lstat(".", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7044 access(".", W_OK) = 0
7044 statfs(".", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=6417999, f_bfree=1159142, f_bavail=1089510, f_files=1638400, f_ffree=1400766, f_fsid={val=[3733571387, 3619805318]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
7044 getuid() = 1001
7044 setfsuid(1001) = 1001
7044 setfsgid(1001) = 1001
7044 getuid() = 1001
7044 getuid() = 1001
7044 getuid() = 1001
7044 getuid() = 1001
7044 getuid() = 1001
7044 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 8
7044 connect(8, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0
7044 sendto(8, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0", 19, MSG_NOSIGNAL, NULL, 0) = 19
7044 poll([{fd=8, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=8, revents=POLLIN|POLLHUP}])
7044 recvmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="passwd\0", iov_len=7}, {iov_base="\310O\3\0\0\0\0\0", iov_len=8}], msg_iovlen=2, msg_control=[{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, cmsg_data=[9]}], msg_controllen=20, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 15
7044 mmap(NULL, 217032, PROT_READ, MAP_SHARED, 9, 0) = 0x7fd34da2c000
7044 close(9) = 0
7044 close(8) = 0
7044 getgid() = 1001
7044 getuid() = 1001
7044 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 8
7044 fstat(8, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7044 getdents64(8, /* 2 entries */, 32768) = 48
7044 getdents64(8, /* 0 entries */, 32768) = 0
7044 close(8) = 0
7044 mount("securefs", ".", "fuse.securefs", MS_NOSUID|MS_NODEV, "fd=6,rootmode=40000,user_id=1001"...) = -1 EPERM (Operation not permitted)
7044 write(2, "fusermount: mount failed: Operat"..., 50) = -1 EBADF (Bad file descriptor)
7044 close(6) = 0
7044 exit_group(1) = ?
6936 <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=1}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0
7044 +++ exited with 1 +++
6936 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7044, si_uid=1001, si_status=1, si_utime=0, si_stime=0} ---
6936 close(6) = 0
6936 wait4(7044, NULL, 0, NULL) = 7044
6936 socketpair(AF_UNIX, SOCK_STREAM, 0, [5, 6]) = 0
6936 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fbfe4e11350) = 7045
6936 close(5 <unfinished ...>
7045 set_robust_list(0x7fbfe4e11360, 24 <unfinished ...>
6936 <... close resumed>) = 0
7045 <... set_robust_list resumed>) = 0
6936 recvmsg(6, <unfinished ...>
7045 close(6) = 0
7045 fcntl(5, F_SETFD, 0) = 0
7045 execve("/usr/bin/fusermount", ["fusermount", "-o", "rw,nosuid,nodev", "--", "/mnt/lab16.sda3/user/.007/lab16."...], 0x55bb39f55070 /* 143 vars */) = 0
7045 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
7045 brk(NULL) = 0x562f24969000
7045 arch_prctl(0x3001 /* ARCH_??? */, 0x7fffbc4841e0) = -1 EINVAL (Invalid argument)
7045 fcntl(0, F_GETFD) = 0
7045 fcntl(1, F_GETFD) = 0
7045 fcntl(2, F_GETFD) = 0
7045 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
7045 access("/etc/ld.so.preload", R_OK) = 0
7045 openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 6
7045 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
7045 close(6) = 0
7045 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6
7045 fstat(6, {st_mode=S_IFREG|0644, st_size=213958, ...}) = 0
7045 mmap(NULL, 213958, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f48e4fd9000
7045 close(6) = 0
7045 openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 6
7045 read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`r\2\0\0\0\0\0"..., 832) = 832
7045 lseek(6, 64, SEEK_SET) = 64
7045 read(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
7045 lseek(6, 848, SEEK_SET) = 848
7045 read(6, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
7045 lseek(6, 880, SEEK_SET) = 880
7045 read(6, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
7045 fstat(6, {st_mode=S_IFREG|0755, st_size=2149496, ...}) = 0
7045 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f48e4fd7000
7045 lseek(6, 64, SEEK_SET) = 64
7045 read(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
7045 lseek(6, 848, SEEK_SET) = 848
7045 read(6, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
7045 lseek(6, 880, SEEK_SET) = 880
7045 read(6, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
7045 mmap(NULL, 1860536, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7f48e4e10000
7045 mprotect(0x7f48e4e35000, 1671168, PROT_NONE) = 0
7045 mmap(0x7f48e4e35000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x25000) = 0x7f48e4e35000
7045 mmap(0x7f48e4f82000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x172000) = 0x7f48e4f82000
7045 mmap(0x7f48e4fcd000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1bc000) = 0x7f48e4fcd000
7045 mmap(0x7f48e4fd3000, 13240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f48e4fd3000
7045 close(6) = 0
7045 arch_prctl(ARCH_SET_FS, 0x7f48e4fd8580) = 0
7045 mprotect(0x7f48e4fcd000, 12288, PROT_READ) = 0
7045 mprotect(0x562f24967000, 4096, PROT_READ) = 0
7045 mprotect(0x7f48e5038000, 4096, PROT_READ) = 0
7045 munmap(0x7f48e4fd9000, 213958) = 0
7045 brk(NULL) = 0x562f24969000
7045 brk(0x562f2498a000) = 0x562f2498a000
7045 getuid() = 1001
7045 getuid() = 1001
7045 setfsuid(1001) = 1001
7045 getgid() = 1001
7045 setfsgid(1001) = 1001
7045 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
7045 lstat("/mnt/lab16.sda3", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
7045 lstat("/mnt/lab16.sda3/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
7045 lstat("/mnt/lab16.sda3/user/.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7045 chdir("/") = 0
7045 getuid() = 1001
7045 setfsuid(1001) = 1001
7045 setfsgid(1001) = 1001
7045 umask(033) = 022
7045 getuid() = 1001
7045 getuid() = 1001
7045 setfsuid(1001) = 1001
7045 getgid() = 1001
7045 setfsgid(1001) = 1001
7045 openat(AT_FDCWD, "/dev/fuse", O_RDWR) = 6
7045 getuid() = 1001
7045 setfsuid(1001) = 1001
7045 setfsgid(1001) = 1001
7045 getuid() = 1001
7045 getuid() = 1001
7045 setfsuid(1001) = 1001
7045 getgid() = 1001
7045 setfsgid(1001) = 1001
7045 openat(AT_FDCWD, "/etc/fuse.conf", O_RDONLY) = 7
7045 fstat(7, {st_mode=S_IFREG|0644, st_size=694, ...}) = 0
7045 read(7, "# The file /etc/fuse.conf allows"..., 4096) = 694
7045 read(7, "", 4096) = 0
7045 close(7) = 0
7045 getuid() = 1001
7045 openat(AT_FDCWD, "/etc/mtab", O_RDONLY|O_CLOEXEC) = 7
7045 fstat(7, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
7045 read(7, "proc /proc proc rw,nosuid,nodev,"..., 1024) = 1024
7045 read(7, "up/rdma cgroup rw,nosuid,nodev,n"..., 1024) = 1024
7045 read(7, "0\nconfigfs /sys/kernel/config co"..., 1024) = 1024
7045 read(7, "\nroot@do16:/ /mnt/do16 fuse.sshf"..., 1024) = 96
7045 read(7, "", 1024) = 0
7045 close(7) = 0
7045 lstat("/mnt/lab16.sda3/user/.007/lab16.007", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7045 getuid() = 1001
7045 chdir("/mnt/lab16.sda3/user/.007/lab16.007") = 0
7045 lstat(".", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7045 access(".", W_OK) = 0
7045 statfs(".", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=6417999, f_bfree=1159142, f_bavail=1089510, f_files=1638400, f_ffree=1400766, f_fsid={val=[3733571387, 3619805318]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
7045 getuid() = 1001
7045 setfsuid(1001) = 1001
7045 setfsgid(1001) = 1001
7045 getuid() = 1001
7045 getuid() = 1001
7045 getuid() = 1001
7045 getuid() = 1001
7045 getuid() = 1001
7045 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 7
7045 connect(7, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0
7045 sendto(7, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0", 19, MSG_NOSIGNAL, NULL, 0) = 19
7045 poll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
7045 recvmsg(7, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="passwd\0", iov_len=7}, {iov_base="\310O\3\0\0\0\0\0", iov_len=8}], msg_iovlen=2, msg_control=[{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, cmsg_data=[8]}], msg_controllen=20, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 15
7045 mmap(NULL, 217032, PROT_READ, MAP_SHARED, 8, 0) = 0x7f48e4fd9000
7045 close(8) = 0
7045 close(7) = 0
7045 getgid() = 1001
7045 getuid() = 1001
7045 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 7
7045 fstat(7, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
7045 getdents64(7, /* 2 entries */, 32768) = 48
7045 getdents64(7, /* 0 entries */, 32768) = 0
7045 close(7) = 0
7045 mount("/dev/fuse", ".", "fuse", MS_NOSUID|MS_NODEV, "fd=6,rootmode=40000,user_id=1001"...) = -1 EPERM (Operation not permitted)
7045 write(2, "fusermount: mount failed: Operat"..., 50) = 50
7045 close(6) = 0
7045 exit_group(1) = ?
6936 <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=1}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0
7045 +++ exited with 1 +++
6936 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7045, si_uid=1001, si_status=1, si_utime=0, si_stime=0} ---
6936 close(6) = 0
6936 wait4(7045, NULL, 0, NULL) = 7045
6936 close(4) = 0
6936 close(-1) = -1 EBADF (Bad file descriptor)
6936 unlinkat(3, ".securefs.lock", 0) = 0
6936 close(3) = 0
6936 exit_group(1) = ?
6936 +++ exited with 1 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.