File: userbindmount.h

package info (click to toggle)
userbindmount 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: ansic: 242; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef USERBINDMOUNT_C
#define USERBINDMOUNT_C
#include <sys/types.h>

int userbindmount_unshare(void);

int userbindmount_set_cap_sysadm(void);

int userbindmount(const char *source, const char *target); 

int userbindmount_string(const char *string, const char *target, mode_t mode);

int userbindmount_data(const void *data, size_t count, const char *target, mode_t mode);

int userbindmount_fd(int fd, const char *target, mode_t mode);

#endif