Commit Graph

4050 Commits

Author SHA1 Message Date
K. Lange
0762fb30ce libc: getlogin should not query fd directly 2018-10-31 11:39:56 +09:00
K. Lange
be97496bed tmpfs: update mtime with just an open w/ append? 2018-10-31 11:39:56 +09:00
K. Lange
730fd9d64c tmpfs: /var as a protected tmpfs 2018-10-31 10:51:08 +09:00
K. Lange
b42c185421 sudo: support euids with setuid binaries 2018-10-31 10:28:41 +09:00
K. Lange
ba40bb5cc6 drawlines: single-threaded with fswait 2018-10-30 21:20:10 +09:00
K. Lange
a8b39ada97 esh: fix missing linefeed after source error message 2018-10-30 21:06:47 +09:00
K. Lange
8c4997e369 esh: fix hashmap crash when trying to remove nonexistent jobs? 2018-10-30 18:56:20 +09:00
K. Lange
f9a64b6ac7 debug_sh: cleanup 2018-10-30 16:56:28 +09:00
K. Lange
947d8ddde7 mktemp: in /tmp by default 2018-10-30 16:45:03 +09:00
K. Lange
0282e6281e esh: fix globbing of .* 2018-10-30 16:10:49 +09:00
K. Lange
e8ec1cb6c3 kernel: setsid should set pgid=pid 2018-10-30 15:58:15 +09:00
K. Lange
7a935f2834 kernel: send SIGCHLD 2018-10-30 15:37:47 +09:00
K. Lange
c3b841d13c sh: bad pgid when resetting? 2018-10-30 15:36:09 +09:00
K. Lange
622c8304f1 esh: cleaner hashmap usage; fix bad semaphore 2018-10-30 13:39:39 +09:00
K. Lange
35c29e9b4d kernel: getpgid; esh: fixups 2018-10-30 13:28:11 +09:00
K. Lange
36afa24d2f kernel: invert WEXITED to WSTOPPED 2018-10-30 13:11:07 +09:00
K. Lange
821eb55496 esh: fixup pgrp juggling 2018-10-30 08:44:09 +09:00
K. Lange
422a264b49 sh: conditionals should only wait on their own processes 2018-10-29 21:39:32 +09:00
K. Lange
ad22ffaca9 esh: basic support for ~ paths 2018-10-29 21:33:52 +09:00
K. Lange
42dbc44212 esh: don't die when unable to source 2018-10-29 21:25:31 +09:00
K. Lange
829ebcd4a1 esh: fix output for fg, bg when no jobs 2018-10-29 21:21:39 +09:00
K. Lange
614eb752d4 add reset 2018-10-29 21:21:26 +09:00
K. Lange
886f5797fb kernel: add modes and offsets to file descriptors 2018-10-29 20:57:17 +09:00
K. Lange
26801b76fd init: don't actually open serial by default 2018-10-29 20:56:51 +09:00
K. Lange
23573a1f35 getty: ensure tty is sane 2018-10-29 20:56:41 +09:00
K. Lange
81ba10fe3f serial: new direct tty serial driver 2018-10-29 19:55:55 +09:00
K. Lange
e0a871df8b kernel: processes in the same session should be able to send SIGCONT regardless of permissions 2018-10-29 18:32:13 +09:00
K. Lange
5831f88328 esh: fixup behavior of & tasks in non-interactive shells 2018-10-29 13:47:27 +09:00
K. Lange
8d5c2aeb5a cat: accept - as an argument 2018-10-29 13:47:05 +09:00
K. Lange
d26129ce39 esh: don't create jobs from & commands when not interactive 2018-10-29 13:04:19 +09:00
K. Lange
9a6a5ce9c1 esh: report status of backgrounded apps when they finish 2018-10-29 12:45:22 +09:00
K. Lange
7fe9c841d4 esh: bg command 2018-10-29 10:59:01 +09:00
K. Lange
573dd69cd3 esh: backgrounded commands should produce jobs we can fg 2018-10-29 10:49:53 +09:00
K. Lange
9ff2b20821 esh: additional signal descriptions 2018-10-28 19:40:21 +09:00
K. Lange
b06248b631 esh: incorrect references to pid in wait_for_child 2018-10-28 19:40:08 +09:00
K. Lange
0995d14106 tty: kernel should send SIGWINCH, not terminal 2018-10-28 19:03:04 +09:00
K. Lange
4fb42341dd sh: should wait for -1 in non-interactive shells 2018-10-28 18:52:44 +09:00
K. Lange
02d5f77f10 more correct pgrp juggling 2018-10-28 18:23:11 +09:00
K. Lange
4d854b156c lfbvideo: allow display initialize to be triggered by ioctl 2018-10-27 16:18:09 +09:00
K. Lange
e3fd396897 terminal-vga: stop reading from kbd/mouse on SIGUSR2 2018-10-27 16:17:54 +09:00
K. Lange
ad9fc6caa4 esh: better handling for suspended pipelines 2018-10-27 12:12:17 +09:00
K. Lange
51df8004dd job control: kill/cont process groups 2018-10-26 23:19:46 +09:00
K. Lange
5aaaf9f8ce kernel: setpgid fix 2018-10-26 23:15:08 +09:00
K. Lange
3d2e94d387 procfs: indicate stopped (T) in status 2018-10-26 20:50:11 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
a40fe23a50 tty: support additional EOL character 2018-10-26 18:20:09 +09:00
K. Lange
8a58745c27 stty: setter for VWERASE 2018-10-26 13:51:08 +09:00
K. Lange
07ae3dd089 tty: add VWERASE 2018-10-26 13:46:47 +09:00
K. Lange
089d5235c3 stty: DEL is the default for VERASE 2018-10-26 13:40:40 +09:00
K. Lange
092ca7c196 tty: ascii DELETE for backspace; no serial conversion 2018-10-26 13:39:03 +09:00