mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Rename aa_query_label allow and audit params in headers
This change matches the names in the .c source and the man page for aa_query_label, and also simplifies the typemap annotations needed to make the SWIG versions usable. Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
parent
c4bb6969f5
commit
0c4cda2f1c
2 changed files with 4 additions and 4 deletions
|
@ -105,8 +105,8 @@ extern int aa_getpeercon(int fd, char **label, char **mode);
|
|||
#define AA_QUERY_CMD_LABEL "label"
|
||||
#define AA_QUERY_CMD_LABEL_SIZE sizeof(AA_QUERY_CMD_LABEL)
|
||||
|
||||
extern int aa_query_label(uint32_t mask, char *query, size_t size, int *allow,
|
||||
int *audit);
|
||||
extern int aa_query_label(uint32_t mask, char *query, size_t size, int *allowed,
|
||||
int *audited);
|
||||
extern int aa_query_file_path_len(uint32_t mask, const char *label,
|
||||
size_t label_len, const char *path,
|
||||
size_t path_len, int *allowed, int *audited);
|
||||
|
|
|
@ -57,8 +57,8 @@ extern int aa_gettaskcon(pid_t target, char **label, char **mode);
|
|||
extern int aa_getcon(char **label, char **mode);
|
||||
extern int aa_getpeercon_raw(int fd, char *buf, socklen_t *len, char **mode);
|
||||
extern int aa_getpeercon(int fd, char **label, char **mode);
|
||||
extern int aa_query_label(uint32_t mask, char *query, size_t size, int *allow,
|
||||
int *audit);
|
||||
extern int aa_query_label(uint32_t mask, char *query, size_t size, int *allowed,
|
||||
int *audited);
|
||||
extern int aa_query_file_path_len(uint32_t mask, const char *label,
|
||||
size_t label_len, const char *path,
|
||||
size_t path_len, int *allowed, int *audited);
|
||||
|
|
Loading…
Add table
Reference in a new issue