diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2015-09-08 14:58:22 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2015-09-09 20:26:46 +0900 |
commit | ba056b738d407ace25e5e4a2f9c890de229bf69f (patch) | |
tree | ee1ec96c5618872ff3640a5f060964a2b741e667 /src/basic/smack-util.h | |
parent | 9c00a6adfa6c2ded071222b2ec76295480add34e (diff) |
smack: introduce new mac_smack_copy() function
This adds a new mac_smack_copy() function in order to read the smack
label from the source and apply it to the destination.
Diffstat (limited to 'src/basic/smack-util.h')
-rw-r--r-- | src/basic/smack-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/smack-util.h b/src/basic/smack-util.h index 1052cecf4c..b3aa55eb8a 100644 --- a/src/basic/smack-util.h +++ b/src/basic/smack-util.h @@ -48,5 +48,5 @@ int mac_smack_read(const char *path, SmackAttr attr, char **label); int mac_smack_read_fd(int fd, SmackAttr attr, char **label); int mac_smack_apply(const char *path, SmackAttr attr, const char *label); int mac_smack_apply_fd(int fd, SmackAttr attr, const char *label); - int mac_smack_apply_pid(pid_t pid, const char *label); +int mac_smack_copy(const char *dest, const char *src); |