repo.or.cz
/
npfs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changes in v9fs broke pipesrv. Fix it.
[npfs.git]
/
libnpfs
/
mount-Linux.c
blob
c7270b79ca217d93c1db80b8c3802a2121e14497
1
#include <sys/mount.h>
2
#include <sys/syscall.h>
3
4
int
np_mount
(
char
*
mntpt
,
int
mntflags
,
char
*
opts
)
5
{
6
return
mount
(
"none"
,
mntpt
,
"9p"
,
mntflags
,
opts
);
7
}
8
9
int
10
sreuid
(
int
a
,
int
b
)
11
{
12
return
syscall
(
SYS_setreuid
,
a
,
b
);
13
}
14
15
int
16
sregid
(
int
a
,
int
b
)
17
{
18
return
syscall
(
SYS_setregid
,
a
,
b
);
19
}