Skip to contentSkip to conversation

bsd-user: Implement strace support for getcwd syscall

PATCH In review Sean Bruno 3 participants 5 messages Jun 16, 2014 – Jul 3, 2014

lore
Share & tools
lore

Sean Bruno

author
#0 lore raw

PATCH 1/1 bsd-user: Implement strace support for getcwd syscall

---
 bsd-user/freebsd/strace.list | 1 +
 1 file changed, 1 insertion(+)
bsd-user/freebsd/strace.list +1 -0
index 2800a2d..f10caaa 100644
@@ -28,6 +28,7 @@
 { TARGET_FREEBSD_NR___acl_set_fd, "__acl_set_fd", "%s(%d, %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_file, "__acl_set_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_link, "__acl_set_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
+{ TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL },
Signature · 1 line
1.9.3
#1 lore raw
Quoted 10 lines · Sean Bruno
---
 bsd-user/freebsd/strace.list | 1 +
 1 file changed, 1 insertion(+)
bsd-user/freebsd/strace.list +0 -0
index 2800a2d..f10caaa 100644

bsd-user/freebsd/strace.list line 34

Quoted 7 lines
bsd-user/freebsd/strace.list +1 -0
@@ -28,6 +28,7 @@
 { TARGET_FREEBSD_NR___acl_set_fd, "__acl_set_fd", "%s(%d, %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_file, "__acl_set_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_link, "__acl_set_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
+{ TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL },

Ping.

sean

#2 lore raw
Quoted 21 lines · Sean Bruno
Quoted 10 lines · Sean Bruno
---
 bsd-user/freebsd/strace.list | 1 +
 1 file changed, 1 insertion(+)
bsd-user/freebsd/strace.list +0 -0
index 2800a2d..f10caaa 100644

bsd-user/freebsd/strace.list line 34

Quoted 7 lines
bsd-user/freebsd/strace.list +1 -0
@@ -28,6 +28,7 @@
 { TARGET_FREEBSD_NR___acl_set_fd, "__acl_set_fd", "%s(%d, %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_file, "__acl_set_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_link, "__acl_set_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
+{ TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL },

Ping.

Quoted 3 lines

sean

Ping perhaps trivial?

sean

#3 lore raw
Quoted 8 lines · Sean Bruno
Quoted 5 lines · Sean Bruno
Quoted 4 lines · Sean Bruno
---
 bsd-user/freebsd/strace.list | 1 +
 1 file changed, 1 insertion(+)

Ping perhaps trivial?

We're in softfreeze now (and I'm pretty busy with a bunch of unrelated stuff), but these are still on my review queue.

thanks
-- PMM

Reviewed-by on v1 1/1
#4 lore raw
In reply to Sean Bruno
Quoted 10 lines · Sean Bruno
---
 bsd-user/freebsd/strace.list | 1 +
 1 file changed, 1 insertion(+)
bsd-user/freebsd/strace.list +0 -0
index 2800a2d..f10caaa 100644

bsd-user/freebsd/strace.list line 34

Quoted 7 lines
bsd-user/freebsd/strace.list +1 -0
@@ -28,6 +28,7 @@
 { TARGET_FREEBSD_NR___acl_set_fd, "__acl_set_fd", "%s(%d, %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_file, "__acl_set_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
 { TARGET_FREEBSD_NR___acl_set_link, "__acl_set_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
+{ TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL },
 { TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL },

and added to bsd-user.next (which I've also rebased on top of current master). This is 2.2 material, though.

thanks
-- PMM