Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Develop #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,16 @@ public static final native int glfs_readlink (
@JniArg(cast = "char *", flags = NO_IN) byte[] buf,
@JniArg(cast = "size_t") long bufsiz
);

// int glfs_setfsuid (uid_t fsuid)
@JniMethod
public static final native int glfs_setfsuid(
@JniArg(cast = "uid_t") int fsuid
);

// int glfs_setfsgid (gid_t fsgid)
@JniMethod
public static final native int glfs_setfsgid(
@JniArg(cast = "gid_t") int fsgid
);
}
1 change: 0 additions & 1 deletion libgfapi-jni/src/main/native-package/m4/custom.m4
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ AC_DEFUN([CUSTOM_M4_SETUP],
AC_SUBST(CXXFLAGS)
LDFLAGS="$LDFLAGS -lgfapi -L${withval}/lib"
AC_SUBST(LDFLAGS)
],[
]
)

Expand Down