Ben Gras
bad58c9c51
merge libminlib with libc
...
Change-Id: I79cc4ea90c378a1da3dac16487b53034953827a7
2014-08-28 18:49:19 +02:00
Ben Gras
c2808d8b07
remove libcompat_minix as library
...
. get rid of includes in libcompat_minix:
. move configfile.h to minix/include/
. all others are unneeded as they point to other files
. merge the .c files with libc
Change-Id: I5e840c66fb9bc484f377926aa9d66473bbd16259
2014-08-28 18:49:13 +02:00
Lionel Sambuc
433d6423c3
New sources layout
...
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00
Lionel Sambuc
6082b2b4de
Message type for COMMON_REQ_GCOV_DATA.
...
Change-Id: I97d31059990e33411a685d5d8191c728a02e7d0f
2014-07-28 17:06:28 +02:00
Lionel Sambuc
64fb3a184c
Message type for SYS_CPROF and PM_CPROF.
...
Change-Id: I2dc3d9d95c2a2b4c5fdbceae359b0be2bbdf9fb5
2014-07-28 17:06:26 +02:00
Lionel Sambuc
8ad307eeed
Message type for SYS_SPROF and PM_SPROF.
...
Change-Id: I598f88af47737be0172236fa9ad24058b50d3942
2014-07-28 17:06:26 +02:00
Ben Gras
c727357664
custom types for RS_INIT, RS_UPDATE, and others
2014-07-28 17:06:23 +02:00
Ben Gras
8c2ac80abd
custom message type for VM_BRK
2014-07-28 17:06:22 +02:00
Ben Gras
7cb7ac5b42
use custom mmap struct type directly
2014-07-28 17:06:21 +02:00
Ben Gras
fce93dad32
custom message type for SEMOP
2014-07-28 17:06:21 +02:00
Ben Gras
c476408dea
custom message type for SHMCTL, SEMCTL, SEMGET
2014-07-28 17:06:20 +02:00
Ben Gras
e57d31d331
custom messages for SHMAT, SHMDT
2014-07-28 17:06:20 +02:00
Ben Gras
8627d33a42
custom message for SHMGET
2014-07-28 17:06:19 +02:00
Ben Gras
01a50f57d8
custom message type for VM_GETREF
2014-07-28 17:06:17 +02:00
Ben Gras
28b5360df7
custom message type for VM_GETPHYS
2014-07-28 17:06:17 +02:00
Ben Gras
324fc1f604
custom message type for VM_SHM_UNMAP
2014-07-28 17:06:17 +02:00
Ben Gras
e3a0e6c3c3
custom message type for VM_REMAP, VM_REMAP_RO
2014-07-28 17:06:16 +02:00
Lionel Sambuc
4684ddb6aa
LLVM Minix changes
...
- import libcxx
- reduce targets to the one when compiled as a tools
Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00
David van Moolenbroek
69cba46141
libc: make ttyname(3) use devname(3)
...
There was an off-by-one in the old MINIX-specific implementation,
which caused ttyname(3) to fail at random. Since we now have a working
devname(3), there is no need for MINIX-specific code anymore here.
Change-Id: I27d8b6c4f66c84f383156ed494b740d071af02a7
2014-07-28 17:05:53 +02:00
Lionel Sambuc
948a5389f9
Message type for SVRCTL
...
Change-Id: Ibdb9edb9878e06cf2a641ffc3975f878a6e41dfb
2014-07-28 17:05:45 +02:00
Lionel Sambuc
6c313721d3
Message type for {PM,VFS,VM}_GETRUSAGE
...
Change-Id: I793d2e9fa8eb0562a46ccbd81aae3dbb517671cc
2014-07-28 17:05:44 +02:00
Lionel Sambuc
b90d99dab3
Message type for PM_{KILL,SIGACTION}
...
Change-Id: I7fac9a894e319671e12bfa7430984ca1cf24da33
2014-07-28 17:05:42 +02:00
Lionel Sambuc
9a4c1520cf
Message type for PM_SIG{RETURN,SUSPEND,PROCMASK}
...
Change-Id: Id20352db47892eb6b870ea64ba52b3b1a293cbaa
2014-07-28 17:05:42 +02:00
Lionel Sambuc
6495d409d6
Message type for PM_EXIT
...
Change-Id: Ie78768d95358a701268129587074a48493cf5bbc
2014-07-28 17:05:42 +02:00
Lionel Sambuc
048d0f0d62
Message type for PM_EXEC
...
Change-Id: I6738716ba835d6196519056bb77afa8ec99f122a
2014-07-28 17:05:38 +02:00
Lionel Sambuc
e1986cd160
Message type for PM_MCONTEXT
...
Change-Id: I4ab9fc23ce8d78e03582580feba5ba96541f0f7e
2014-07-28 17:05:37 +02:00
Lionel Sambuc
ca31c1caae
Message type for PM_GETSID
...
Change-Id: Ife3f9f6a7b6190baca6f379f7d3c36388baf6904
2014-07-28 17:05:37 +02:00
Lionel Sambuc
f63d2f0eaf
Message type for PM_GETPID
...
Change-Id: Ib3ff13ad9c9e30bde08d4cacb6905955ace73924
2014-07-28 17:05:37 +02:00
Lionel Sambuc
cc852e7783
Message type for PM_SET{,E}GID
...
Change-Id: I489d9290553b28361344e0cfd59c31e7e672c22c
2014-07-28 17:05:37 +02:00
Lionel Sambuc
a6c5528e96
Message type for PM_SET{,E}UID
...
Change-Id: I5421646713e74562400e705b4a0f8b99f1325d64
2014-07-28 17:05:37 +02:00
Lionel Sambuc
b9939b3ed8
Message type for PM_GETGID
...
Change-Id: If3f788b0ad5a7389a62ecec3da78d6d71090f9a8
2014-07-28 17:05:37 +02:00
Lionel Sambuc
ba70f58845
Message type for PM_GETUID
...
Change-Id: I9a04f5a8b0e9099e0df543bcf76b2610a8803b9a
2014-07-28 17:05:36 +02:00
Lionel Sambuc
70a744da37
Message type for PM_REBOOT
...
Change-Id: I8de1b0de1a4c79f60a7df4720943ed9d0a19725c
2014-07-28 17:05:36 +02:00
Lionel Sambuc
c3629bba0b
Message type for PM_GROUPS
...
Change-Id: I9e3b784143dd0294a8aad27e3cc588e5b57dabfc
2014-07-28 17:05:36 +02:00
Lionel Sambuc
865f761364
Message type for PM_{S,G}ET_PRIORITY
...
Change-Id: I3cf77f786751ca7e5a8cd13b8716b228d0fbf7fe
2014-07-28 17:05:36 +02:00
Lionel Sambuc
a297e52a32
Message type for PM_SYSUNAME
...
Change-Id: I58bd2987393ea56e1886fbce70b4b2c26af4ef2b
2014-07-28 17:05:35 +02:00
Lionel Sambuc
345b3b5114
Message type for PM_PTRACE
...
Change-Id: I19bbd5faa5c7511cda0239109b2ac55869c47b96
2014-07-28 17:05:35 +02:00
Lionel Sambuc
a5ed845b20
Message type for PM_ITIMER
...
Change-Id: I191ba9630028d9822f6a2fd4d7d3f461eb4d1493
2014-07-28 17:05:35 +02:00
Lionel Sambuc
1ae60bd2e8
Message type for PM_ time-related calls
...
- Message type for PM_CLOCK_SETTIME, PM_CLOCK_GETTIME,
PM_CLOCK_GETRES, PM_GETTIMEOFDAY, PM_SETTIME.
- Small adaptation, message only transfert sub-second time in
nanoseconds, instead of both nano- and micro-seconds. Conversion
is done in userland, as required.
Change-Id: Ie4a6e0c457cc12626e85d2102c086a95311cf3e7
2014-07-28 17:05:35 +02:00
Lionel Sambuc
ee2f1ee4cd
Message type for PM_WAITPID
...
Change-Id: Ic2637a30418b9c780504f21a93ee80cef09ee1f2
2014-07-28 17:05:35 +02:00
Lionel Sambuc
7031438f58
Message type and related cleanup
...
- Intorduce and use a message type for VFS_GETDENTS, VFS_READ,
VFS_WRITE.
- Some cleanup to related functions where vir_bytes are replaced (and
casted to/from, in parameter definition and local variables as well.
This allow to see more clearly which function receives unsafe
(pointer) values, or at least values which are not supposed to be
valid in the address space of VFS. The current patch does so only
for the minimal amount of functions which are concerned with the
introduction of the new message type.
Change-Id: I0cdca97409c4016d02fae067b48bf55d37572c5c
2014-07-28 17:05:34 +02:00
Lionel Sambuc
2101b4ebc0
Message type for VFS_CLOSE
...
Change-Id: Iebe5f06b0dc95cdca61d95ab875d4fa1171f4f4c
2014-07-28 17:05:34 +02:00
Lionel Sambuc
6c61cd5665
Message type for VFS_FCHMOD
...
Change-Id: I933e5b5a214aa9e7ddb6546b459ef40688e8ca04
2014-07-28 17:05:34 +02:00
Lionel Sambuc
4635162db2
Message type for VFS_FCHDIR
...
Change-Id: Ie7de90d37a39e89f35438a5b01a9e878a06194b2
2014-07-28 17:05:34 +02:00
Lionel Sambuc
698d2bd2a1
Message type for VFS_{,F}CHOWN
...
Change-Id: Ieb8cef45bfab1e35ad8854038c72b59a4d7bbaad
2014-07-28 17:05:34 +02:00
Lionel Sambuc
c869546226
Message type for VFS_CREAT
...
Change-Id: Ica111f1b2005a6ff42dc3bb59ac3158a2e12678c
2014-07-28 17:05:33 +02:00
Lionel Sambuc
cef3ce969a
Message type for path related calls.
...
- Updated system calls VFS_ACCESS, VFS_CHDIR, VFS_CHMOD, VFS_CHROOT,
VFS_MKDIR, VFS_OPEN, VFS_RMDIR, VSF_UNLINK
- Removed M3_STRING and M3_LONG_STRING, which are tied to a specific
"generic" message, and replaced where needed with M_PATH_STRING_MAX,
which is tied to the mess_lc_vfs_path message.
Change-Id: If287c74f5ece937b9431e5d95b5b58a3c83ebff1
2014-07-28 17:05:33 +02:00
Lionel Sambuc
96b3577b2c
Message type for VFS_MKNOD
...
Change-Id: Ief8c6664d79c320a70543c10b758b784fdfa7cfd
2014-07-28 17:05:33 +02:00
Lionel Sambuc
6d903b914c
Message type for VFS_FCNTL
...
Change-Id: I079f3d7902cf5501fbc594a5610acd370abea095
2014-07-28 17:05:33 +02:00
Lionel Sambuc
bb2b07940c
Message type for VFS_FSTAT
...
Change-Id: Ibdedcac120fc4bf78e28291d9c97fe02df1928db
2014-07-28 17:05:33 +02:00