Change the subid export symbols
Rename libsubid symbols to all be prefixed with subid_. Don't export anything but the subid_*. Closes #443 Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
@@ -45,9 +45,9 @@ int main(int argc, char *argv[])
|
||||
if (argc > 1)
|
||||
range.count = atoi(argv[1]);
|
||||
if (group)
|
||||
ok = grant_subgid_range(&range, !makenew);
|
||||
ok = subid_grant_gid_range(&range, !makenew);
|
||||
else
|
||||
ok = grant_subuid_range(&range, !makenew);
|
||||
ok = subid_grant_uid_range(&range, !makenew);
|
||||
|
||||
if (!ok) {
|
||||
fprintf(stderr, "Failed creating new id range\n");
|
||||
|
||||
Reference in New Issue
Block a user