]> git.ipfire.org Git - thirdparty/man-pages.git/commit
getspnam.3: ATTRIBUTES: Note functions that are/aren't thread-safe
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>
Mon, 24 Aug 2015 10:19:53 +0000 (18:19 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 11 Sep 2015 10:06:23 +0000 (12:06 +0200)
commit557d7d9682f7a4dacc0847bfb1fc90db84e28ce2
tree720dd774d290cffb4f6c971ce83a177a9bde6ead
parent1ec27c36ff06b4460e1fe83e60217ad7eb2f4f3d
getspnam.3: ATTRIBUTES: Note functions that are/aren't thread-safe

After research, We think
* getspnam(),
* getspent(),
* setspent(),
* endspent(),
* getspent_r(),
* fgetspent(),
* sgetspent(),
are not thread-safe. And
* putspent(),
* getspnam_r(),
* sgetspent_r(),
* lckpwdf(),
* ulckpwdf(),
* fgetspent_r(),
are thread-safe. But, there are not
markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getspnam.3