Commit Graph

32 Commits

Author SHA1 Message Date
K. Lange
56d412fd31 access(2) should return -1 on error 2019-08-08 09:42:44 +09:00
K. Lange
e2b6f13ba2 libc: set errno on read, write 2018-12-11 09:42:21 +09:00
K. Lange
c9c18f70ad libc: move syscall defs; consistently use SYS_ macros 2018-12-10 10:09:27 +09:00
K. Lange
4788ff3cc8 beep: fix some durations 2018-11-29 18:30:59 +09:00
K. Lange
7c8a98e957 libc: stat/lstat must return -1 on error 2018-11-25 12:50:42 +09:00
K. Lange
0762fb30ce libc: getlogin should not query fd directly 2018-10-31 11:39:56 +09:00
K. Lange
b42c185421 sudo: support euids with setuid binaries 2018-10-31 10:28:41 +09:00
K. Lange
35c29e9b4d kernel: getpgid; esh: fixups 2018-10-30 13:28:11 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
23e3681c21 libc: add loud debugging to execve 2018-10-12 15:40:45 +09:00
K. Lange
ffa655ad9d libc: add stub alarm 2018-10-12 12:45:48 +09:00
K. Lange
fa56c864b1 libc: fix conflicting, redundant getenv declaration in execvp 2018-10-10 23:21:11 +09:00
K. Lange
f3c800b791 add logname, getlogin() 2018-10-09 20:35:53 +09:00
K. Lange
11772506bb kernel, libc: tty names 2018-10-09 19:56:45 +09:00
K. Lange
cdcc0edb0b execve should set errno 2018-09-28 13:10:32 +09:00
K. Lange
6a76b257f4 add atexit() 2018-09-15 16:26:45 +09:00
K. Lange
ee34f63d55 getopt: handle non-long --foo like glibc does 2018-09-07 10:19:14 +09:00
K. Lange
320a8c55ee Remove . from default PATH 2018-08-14 14:04:53 +09:00
K. Lange
bd3f1b0334 get/sethostname 2018-08-02 03:40:43 +09:00
K. Lange
1ecdb29e51 chown in libc 2018-07-18 12:37:21 +09:00
K. Lange
b1fe4fa4ce More errno stuff 2018-07-18 10:45:42 +09:00
K. Lange
dace5d456b Various errno-related fixes 2018-07-18 10:25:01 +09:00
K. Lange
22a3321c25 More libc 2018-06-25 16:34:07 +09:00
K. Lange
5cd281a1a6 More libc for Python (almost done) 2018-06-25 15:45:32 +09:00
K. Lange
a283332be6 At least define a bunch of libc stuff 2018-06-25 12:11:33 +09:00
K. Lange
91fdce2c27 Fix const warning in libc/symlink 2018-06-04 15:24:53 +09:00
K. Lange
a547437e3f Fix conflicting definition for symlink 2018-05-22 08:30:10 +09:00
K. Lange
e5d5921526 symlink support in migrate 2018-05-21 21:45:18 +09:00
K. Lange
554e6d10ed More libc stuff 2018-05-10 22:23:46 +09:00
K. Lange
b4c1d997b4 Add getopt, getopt_long 2018-05-02 18:58:47 +09:00
K. Lange
8f2025864c Break up unistd into separate files for each function 2018-05-02 12:20:06 +09:00
K. Lange
4c8f8e43fb Use subdirectories for libc based on headers 2018-05-02 11:59:30 +09:00