]> granicus.if.org Git - shadow/commit
Remove dead code.
authorNicolas François <nicolas.francois@centraliens.net>
Thu, 15 Aug 2013 14:46:51 +0000 (16:46 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Thu, 15 Aug 2013 15:30:19 +0000 (17:30 +0200)
commit7d5732cb495cedd491e4345373795b3b546a8d36
treef15d4de51ff0bff4fc6d8ac7f54b8c685aad6731
parent1a8d386288ce5449df3bddb4241a232d65de035e
Remove dead code.

* libmisc/find_new_sub_gids.c: Remove dead code.
find_new_sub_gids() is always called with *range_count set to 0.
It's more difficult to keep the subordinate GIDs and UIDs
synchronized, than for the user's UID/GId because the count of
subordinate IDs may differ.
* libmisc/find_new_sub_uids.c: Likewise.
* lib/subordinateio.h, lib/subordinateio.c: Remove APIs that are
no more needed: is_sub_uid_range_free(), is_sub_gid_range_free(),
is_range_free().
ChangeLog
lib/subordinateio.c
lib/subordinateio.h
libmisc/find_new_sub_gids.c
libmisc/find_new_sub_uids.c