Revision c8cafc8e sysdep/linux/syspriv.h

View differences:

sysdep/linux/syspriv.h
1
#ifndef _BIRD_SYSPRIV_H_
2
#define _BIRD_SYSPRIV_H_
1 3

  
4
#ifndef _GNU_SOURCE
5
#define _GNU_SOURCE
6
#endif
7

  
8
#include <unistd.h>
2 9
#include <sys/prctl.h>
3 10
#include <linux/capability.h>
4 11

  
......
70 77
  if (setresuid(uid, uid, uid) < 0)
71 78
    die("setresuid: %m");
72 79
}
80

  
81
#endif /* _BIRD_SYSPRIV_H_ */

Also available in: Unified diff