Notes 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. The library pays attention to some envariables:
  2. CORESERVER -- Name of core server naming point; falls back to /servers/core
  3. COREFILE -- Name of file to write core dump in; falls back to core
  4. GNUTARGET -- Passed to core server to specify flavor of core dump format
  5. New functions:
  6. int openport (io_t port);
  7. FILE *fopenport (mach_port_t, const char *mode);
  8. file_t getdport (int fd);
  9. task_t pid2task (pid_t);
  10. pid_t task2pid (task_t);
  11. int fchroot (int fd);
  12. mode_t getumask (void);
  13. int getuids (int n, uid_t *uidset);
  14. error_t hurd_path_lookup (file_t root, file_t cwd,
  15. const char *path, int flags, mode_t mode,
  16. file_t *port);
  17. error_t hurd_path_split (file_t root, file_t cwd,
  18. const char *path,
  19. file_t *dir, char **name);
  20. file_t path_lookup (const char *path, int flags, mode_t mode);
  21. file_t path_split (const char *path, char **name);
  22. process_t getproc (void);
  23. int setproc (process_t);
  24. file_t getcrdir (void);
  25. int setcrdir (file_t);
  26. file_t getcwdir (void);
  27. int setcwdir (file_t);
  28. auth_t getauth (void);
  29. int setauth (auth_t); /* Reauthenticates all library ports. */