/usr/include/inn/newsuser.h is in inn2-dev 2.6.1-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /* $Id: newsuser.h 9782 2015-01-07 21:34:22Z iulius $
**
** Declarations of functions to ensure running as "news" user/group.
**
** By Ivan Shmakov, 2007.
** This code is in the public domain.
*/
#ifndef INN_NEWSUSER_H
#define INN_NEWSUSER_H 1
#include "inn/portable-macros.h"
#include "inn/portable-stdbool.h"
BEGIN_DECLS
int get_news_uid_gid(uid_t *uid, gid_t *gid, bool may_die);
/* The following functions die() on failure. */
void ensure_news_user(bool may_setuid);
void ensure_news_grp(bool may_setgid);
void ensure_news_user_grp(bool may_setuid, bool may_setgid);
END_DECLS
#endif /* INN_NEWSUSER_H */
|