diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2012-06-11 13:35:34 -0400 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2012-06-11 13:35:34 -0400 |
commit | a2e47cd90d84d48cde19575d044577a3fc7a4000 (patch) | |
tree | 6f709ed47e5e7c5e40c9f47b0ce8206a7d9348fd /src/label_android_property.c | |
parent | 52cd377a74a710b2476c6a4c46da8b59a0dce50d (diff) | |
download | libselinux-a2e47cd90d84d48cde19575d044577a3fc7a4000.tar.gz |
Change selabel_open and label backends to take a const struct selinux_opt argument.
Diffstat (limited to 'src/label_android_property.c')
-rw-r--r-- | src/label_android_property.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/label_android_property.c b/src/label_android_property.c index cf73ec1..b1837c4 100644 --- a/src/label_android_property.c +++ b/src/label_android_property.c @@ -132,7 +132,7 @@ static int process_line(struct selabel_handle *rec, return 0; } -static int init(struct selabel_handle *rec, struct selinux_opt *opts, +static int init(struct selabel_handle *rec, const struct selinux_opt *opts, unsigned n) { struct saved_data *data = (struct saved_data *)rec->data; @@ -277,8 +277,9 @@ static void stats(struct selabel_handle __attribute__((unused)) *rec) selinux_log(SELINUX_WARNING, "'stats' functionality not implemented.\n"); } -int selabel_property_init(struct selabel_handle *rec, struct selinux_opt *opts, - unsigned nopts) +int selabel_property_init(struct selabel_handle *rec, + const struct selinux_opt *opts, + unsigned nopts) { struct saved_data *data; |