]> git.ipfire.org Git - thirdparty/shadow.git/commit
Don't return owner in list_owner_ranges API call.
authorSerge Hallyn <serge@hallyn.com>
Mon, 17 May 2021 02:47:05 +0000 (21:47 -0500)
committerSerge Hallyn <serge@hallyn.com>
Mon, 17 May 2021 02:49:53 +0000 (21:49 -0500)
commit322db32971c02769359f7c095a36ea5768f2b265
treef70f34a51d3af1cf6299f2113c2bc1ffe59759c0
parentf9831a4a1a20b0e8fe47cc72ec20018ec04dbb90
Don't return owner in list_owner_ranges API call.

Closes: 339
struct subordinate_range is pretty closely tied to the existing
subid code and /etc/subuid format, so it includes an owner.  Dropping
that or even renaming it is more painful than I'd first thought.
So introduce a 'struct subid_range' which is only the start and
count, leaving 'struct subordinate_range' as the owner, start and
count.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
lib/prototypes.h
lib/subordinateio.c
lib/subordinateio.h
libsubid/api.c
libsubid/subid.h
src/list_subid_ranges.c
tests/libsubid/04_nss/libsubid_zzz.c