privsep.c 255 B

12345678910111213141516171819
  1. /**
  2. ** Public domain
  3. **/
  4. /* $OpenBSD: privsep.c,v 1.1 2006/11/28 20:29:31 matthieu Exp $ */
  5. #include <sys/types.h>
  6. #include <fcntl.h>
  7. int
  8. priv_init(uid_t uid, gid_t gid)
  9. {
  10. return 0;
  11. }
  12. int
  13. priv_open_device(char *path)
  14. {
  15. return open(path, O_RDWR);
  16. }