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:
Serge Hallyn
2021-11-27 10:49:03 -06:00
parent 9724147344
commit 32f641b207
8 changed files with 37 additions and 36 deletions

View File

@@ -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");