summaryrefslogtreecommitdiff
path: root/testsuite/smbd/sec_ctx_nonroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/smbd/sec_ctx_nonroot.c')
-rw-r--r--testsuite/smbd/sec_ctx_nonroot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/smbd/sec_ctx_nonroot.c b/testsuite/smbd/sec_ctx_nonroot.c
index b31aeb09069..6d4dbf34432 100644
--- a/testsuite/smbd/sec_ctx_nonroot.c
+++ b/testsuite/smbd/sec_ctx_nonroot.c
@@ -27,8 +27,8 @@ int main (int argc, char **argv)
/* Become a non-root user */
- setuid(1);
- setgid(1);
+ samba_setuid(1);
+ samba_setgid(1);
/* Try to push a security context. This should fail with a
smb_assert() error. */