File: Notes

package info (click to toggle)
glibc 2.19-18%2Bdeb8u4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-backports
  • size: 204,416 kB
  • ctags: 144,800
  • sloc: ansic: 970,361; asm: 241,207; sh: 10,069; makefile: 8,475; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (37 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (50)
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
27
28
29
30
31
32
33
34
35
36
37
The library pays attention to some envariables:

CORESERVER     -- Name of core server naming point; falls back to /servers/core
COREFILE       -- Name of file to write core dump in; falls back to core
GNUTARGET      -- Passed to core server to specify flavor of core dump format

New functions:

int openport (io_t port);
FILE *fopenport (mach_port_t, const char *mode);
file_t getdport (int fd);

task_t pid2task (pid_t);
pid_t task2pid (task_t);

int fchroot (int fd);
mode_t getumask (void);

int getuids (int n, uid_t *uidset);

error_t hurd_path_lookup (file_t root, file_t cwd,
			  const char *path, int flags, mode_t mode,
			  file_t *port);
error_t hurd_path_split (file_t root, file_t cwd,
			 const char *path,
			 file_t *dir, char **name);
file_t path_lookup (const char *path, int flags, mode_t mode);
file_t path_split (const char *path, char **name);

process_t getproc (void);
int setproc (process_t);
file_t getcrdir (void);
int setcrdir (file_t);
file_t getcwdir (void);
int setcwdir (file_t);
auth_t getauth (void);
int setauth (auth_t);		/* Reauthenticates all library ports.  */