mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 06:11:57 +00:00
add put*ent functions for passwd/group files and similar for shadow
since shadow does not yet support enumeration (getspent), the corresponding FILE-based get and put versions are also subbed out for now. this is partly out of laziness and partly because it's not clear how they should work in the presence of TCB shadow files. the stubs should make it possible to compile some software that expects them to exist, but such software still may not work properly.
This commit is contained in:
@@ -36,6 +36,7 @@ void setgrent(void);
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
struct group *fgetgrent(FILE *stream);
|
||||
int putgrent(const struct group *, FILE *);
|
||||
#endif
|
||||
|
||||
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
|
Reference in New Issue
Block a user