Commit Graph

72 Commits

Author SHA1 Message Date
Kevin Lange
aaeb7d10f4 Port a bunch of other stuff to use getpwuid, etc. 2014-08-26 22:12:33 -07:00
Kevin Lange
9cc5ddd0e9 pwent stuff in libc, auth modules moved toa library 2014-08-26 21:34:29 -07:00
Kevin Lange
2d872693ac Only print debug stub output when an envvar is set 2014-06-13 13:53:19 -07:00
Kevin Lange
17e332b5e7 expose mounting to userspace 2014-06-09 20:13:11 -07:00
Kevin Lange
cc75de6f3f Update copyright headers in newlib patches 2014-06-07 23:35:13 -07:00
Kevin Lange
b75ee88637 provide sched_yield 2014-06-03 23:19:18 -07:00
Kevin Lange
f9eee91373 Add setuid 2014-06-03 23:12:08 -07:00
Kevin Lange
626897b4bb syscall_print is deprecated, remove references to it 2014-06-03 23:11:56 -07:00
Kevin Lange
d696f51f8b Real unix pipes 2014-05-27 21:38:30 -07:00
Kevin Lange
c231d1c090 Cleanup some direct system calls in userspace 2014-05-11 17:40:16 -07:00
Kevin Lange
cd1880ebb5 Fix sigaction to make cmatrix work 2014-04-26 22:39:47 -07:00
Kevin Lange
e2a6ce072d Fix call to external malloc from klrealloc 2014-04-24 22:38:12 -07:00
Kevin Lange
265542402a Welcome back, klmalloc. 2014-04-23 22:43:23 -07:00
Kevin Lange
e8bbfd3221 Add an ioctl to query available pex data 2014-04-16 18:29:49 -07:00
Kevin Lange
14009e4198 Make newlib build PIC for future shared builds 2014-03-25 14:04:55 -07:00
Kevin Lange
03964e3ba7 fix gcc startfiles for shared builds 2014-03-23 21:23:18 -07:00
Kevin Lange
9b130b916d Fix up signals, add SIGTTOU 2013-08-19 19:37:55 -07:00
Kevin Lange
7351fa308b Various fixes to help get bash working 2013-08-04 00:04:22 -07:00
Kevin Lange
40f0c41932 Preliminary termios support
This is some initial work on support real PTYs.
Canonical mode is not supported at the moment.
2013-07-27 00:18:29 -07:00
Kevin Lange
8c9cce2520 Update GCC to 4.6.4 2013-06-08 19:44:28 -07:00
Kevin Lange
ac414f005c Fix up some build stuff 2013-05-30 00:57:17 -07:00
Kevin Lange
c962757835 Fix up newlib cflags at the right time 2013-05-15 18:14:42 -07:00
Kevin Lange
416d483fd6 Box drawing and new wcwidth
Currently a brute-force method, going
to replace this with a Markus Khun-esque interval
search shortly.
2013-05-11 13:20:20 -07:00
Kevin Lange
f4c68573aa execvp 2013-05-08 00:45:00 -07:00
Kevin Lange
a4a117cf0c Fix some build derps 2013-05-05 15:54:01 -07:00
Kevin Lange
1e664bef2b Integrate signals into libc 2013-05-05 15:00:24 -07:00
Kevin Lange
d78f5233d7 remove unused CYGWIN garbage from newlib header 2013-04-27 22:03:47 -07:00
Kevin Lange
fde9c6d652 New ioctl commands and userspace improvements 2013-04-27 01:16:36 -07:00
Kevin Lange
a2a890e1a8 Fresh new VFS syscalls: unlink, chmod, umask 2013-04-23 01:14:33 -07:00
Kevin Lange
ae1d555a13 Syscall bindings 2013-04-22 22:36:56 -07:00
Kevin Lange
ade59a11bc XXX ABI BREAKING CHANGE - New load/heap/stack/shm
Address for program loading, kernel heap, userspace SHM regions, and
stacks have been changed.

Delete:
  toolchain/build
  toolchain/local
  .userspace_check

Run:
  python userspace/build.py clean
  make clean-disk
  make clean
  ./build.sh
2013-04-21 17:35:03 -07:00
Kevin Lange
c98ba11128 -1 is a much better thing to return 2013-04-21 11:23:06 -07:00
Kevin Lange
a7cd255546 Various C library adjustments
Fix weird linking issues with newlib:
- Get rid of dlmalloc
- Also get rid of klmalloc

Adjust crt0 operation:
- Kill the dead loop at the end
- Pass main to pre_main as a function pointer to move `main` reference
  into crt0.o

- Fix a build script derp with trying to remove build and local
  directories (gets rid of some warnings)
2013-04-17 22:23:38 -07:00
Kevin Lange
0f3f85a981 Ncurses and vim 2013-04-12 23:53:21 -07:00
Kevin Lange
96b1d7e23a Mesa 7.5.2 in toolchain 2013-04-12 21:20:08 -07:00
Kevin Lange
4fc6fe741a Add usleep to newlib, silence some warnings 2013-03-26 23:30:09 -07:00
Kevin Lange
bc2e4741c7 Random bits and pieces 2013-03-22 15:11:19 -07:00
Kevin Lange
ce4c6bea52 Better debug output, using serial, for userspace 2013-03-22 12:39:05 -07:00
Kevin Lange
674f047bde fix stat for missing file 2013-03-22 12:14:04 -07:00
Kevin Lange
fa79c89e54 Some fixes and cleanup 2013-03-22 11:58:22 -07:00
Kevin Lange
ef459bdaad More rough stubs and fixes 2013-03-20 21:24:55 -07:00
Kevin Lange
21aeb34ea4 Rough ioctl with support for winsize 2013-03-18 23:57:40 -07:00
Kevin Lange
ff429a7d07 Fix termios.h in newlib 2013-03-18 13:23:25 -07:00
Kevin Lange
71342f842d procfs, and more pty cleanup 2013-03-18 00:52:12 -07:00
Kevin Lange
e02cf79e2a Rough PTY support (needs work) 2013-03-17 16:34:23 -07:00
Kevin Lange
eb92cccecd Cleanup 2013-03-15 00:52:09 -07:00
Kevin Lange
22f04f137b Relatively compliant uname() implementation
Also, sleep() as a function (implemented by way of nanosleep) and new
absolute and relative sleep system calls added to newlib.

[ci skip] I damn well know this is going to break CI.
2013-03-13 21:55:25 -07:00
Kevin Lange
14b939832d Add Cairo and Pixman (slightly outdated) to toolchain 2013-01-27 16:27:18 -08:00
Kevin Lange
ef7c49b94c Global initializers. 2013-01-25 15:59:33 -08:00
Kevin Lange
b5e7eb64dd Actually fix the patch? 2012-12-03 16:13:49 -08:00