summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a9bc45)
This function has never been used so remove it.
Cc: fstests@vger.kernel.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
return (st.st_mode & S_ISVTX) > 0;
}
return (st.st_mode & S_ISVTX) > 0;
}
-static inline int set_cloexec(int fd)
-{
- return fcntl(fd, F_SETFD, FD_CLOEXEC);
-}
-
static inline bool switch_fsids(uid_t fsuid, gid_t fsgid)
{
if (setfsgid(fsgid))
static inline bool switch_fsids(uid_t fsuid, gid_t fsgid)
{
if (setfsgid(fsgid))