12c2c56dcb
This adds `setpwent()`, `getpwent_r()`, `endpwent()`, `setgrent()`, `getgrent_r()`, and `endgrent()` interfaces to nss-systemd library. Thus, dynamic users can be enumerated by e.g. `getent passwd` command.
26 lines
679 B
Plaintext
26 lines
679 B
Plaintext
/***
|
|
SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
This file is part of systemd.
|
|
|
|
systemd is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU Lesser General Public License as published by
|
|
the Free Software Foundation; either version 2.1 of the License, or
|
|
(at your option) any later version.
|
|
***/
|
|
|
|
{
|
|
global:
|
|
_nss_systemd_getpwnam_r;
|
|
_nss_systemd_getpwuid_r;
|
|
_nss_systemd_endpwent;
|
|
_nss_systemd_setpwent;
|
|
_nss_systemd_getpwent_r;
|
|
_nss_systemd_getgrnam_r;
|
|
_nss_systemd_getgrgid_r;
|
|
_nss_systemd_endgrent;
|
|
_nss_systemd_setgrent;
|
|
_nss_systemd_getgrent_r;
|
|
local: *;
|
|
};
|