]> git.ipfire.org Git - thirdparty/shadow.git/commit
Factor out 'want_sub[ug]ids' and rename to 'want_sub[ug]id_file'
authorAnders Blomdell <anders.blomdell@control.lth.se>
Tue, 2 Sep 2025 09:45:37 +0000 (11:45 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 10 Sep 2025 13:28:13 +0000 (08:28 -0500)
commit15540c0d1fca58175327aff7b020cb68579a7802
treee58358893a83f82042d765fbd5b57f4a785e4108
parent3f5ae5d5f1fd302afbc8b573f32e3a6f8b8d7ac8
Factor out 'want_sub[ug]ids' and rename to 'want_sub[ug]id_file'

Move 'want_sub[ug]ids' from 'src/newusers.c' to 'lib/subordinateio.[ch]'
and rename them to 'want_sub[ug]id_file' to clearly indicate that it
refers to the '/etc/sub[ug]id' and not to subids in general.
lib/subordinateio.c
lib/subordinateio.h
src/newusers.c