File: privileges.h

package info (click to toggle)
lightdm 1.32.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,012 kB
  • sloc: ansic: 24,716; sh: 5,008; makefile: 1,159; cpp: 1,143; python: 267; xml: 39
file content (21 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (C) 2010-2011 Robert Ancell.
 * Author: Robert Ancell <robert.ancell@canonical.com>
 * 
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
 * license.
 */

#ifndef PRIVILEGES_H_
#define PRIVILEGES_H_

#include <sys/types.h>

void privileges_drop (uid_t uid, gid_t gid);

void privileges_reclaim (void);

#endif /* PRIVILEGES_H_ */