]> Zhao Yanbai Git Server - minix.git/log
minix.git
10 years agousb:add devmand usb_storage startup script.
Kees Jongenburger [Mon, 26 May 2014 14:47:52 +0000 (16:47 +0200)]
usb:add devmand usb_storage startup script.

Change-Id: Ied194729ea168e8b2cc03d3b808da01860f0eac5

http://gerrit.minix3.org/#/c/2694/

10 years agobuild:always build and install the usb mass storage driver.
Kees Jongenburger [Mon, 26 May 2014 14:47:51 +0000 (16:47 +0200)]
build:always build and install the usb mass storage driver.

Change-Id: Ib54902a21443bd110bfc7498c00776831cbdefaf

http://gerrit.minix3.org/#/c/2693/

10 years agoarm:no longer disable caches in the bootloader.
Kees Jongenburger [Mon, 26 May 2014 14:47:50 +0000 (16:47 +0200)]
arm:no longer disable caches in the bootloader.

Change-Id: If586c5ba19bd61776e92ff232dd1e9be7746d7be

http://gerrit.minix3.org/#/c/2692/

10 years agobuild:indenting
Kees Jongenburger [Mon, 26 May 2014 14:47:49 +0000 (16:47 +0200)]
build:indenting

Change-Id: I85840455ab0ff94c33a2abe342967f6248d1e45f

http://gerrit.minix3.org/#/c/2691/

10 years agousb:adding usb mass storage driver.
Kees Jongenburger [Mon, 26 May 2014 14:47:48 +0000 (16:47 +0200)]
usb:adding usb mass storage driver.

Change-Id: I9e431d56eddfeec21413c290b2fa7ad35b566f6b

http://gerrit.minix3.org/#/c/2690/

10 years agoarm:adding the usbd source code.
Kees Jongenburger [Mon, 26 May 2014 14:47:47 +0000 (16:47 +0200)]
arm:adding the usbd source code.

Change-Id: Ia3c50a8c5e11bf20100354de266913112cc236f9

http://gerrit.minix3.org/#/c/2689/

10 years agoarm:also start devmand on ARM.
Kees Jongenburger [Mon, 26 May 2014 14:47:46 +0000 (16:47 +0200)]
arm:also start devmand on ARM.

Change-Id: Iceffd21d23efa45110a42ce2ab471c15cd6edf66

http://gerrit.minix3.org/#/c/2688/

10 years agobuild:Only keep one ref to .settings and allow to override it.
Kees Jongenburger [Mon, 26 May 2014 14:47:45 +0000 (16:47 +0200)]
build:Only keep one ref to .settings and allow to override it.

Rreleasetools/arm_sdimage.sh uses a ".settings" file to allow to override
the defaults settings found in arm_sdimage. This change allows to use an
alternate file for this purpose. We figured out more programs (like eclipse)
use a ".settings" file.

One can tweak the settings files to use by settings the SETTINGS_MINIX
variable

 SETTING_MINIX=.settings_minix

Change-Id: I57f5ca64d2ac27c9e015ab24b864b9a5f14c42fb

http://gerrit.minix3.org/#/c/2687/

10 years agolibminc:vsnprintf add support for NULL destination pointer.
Kees Jongenburger [Mon, 26 May 2014 14:47:44 +0000 (16:47 +0200)]
libminc:vsnprintf add support for NULL destination pointer.

-Add support for returning the amount of characters that would have been
written if the buffer was large enough.
-Protect code against NULL dereference.

Change-Id: Ifb2041f4757e8a99f255d94768ba19621bc0ea16

http://gerrit.minix3.org/#/c/2560/

10 years agoAdding headers for libdde (not strictly part of ddekit)
Kees Jongenburger [Mon, 26 May 2014 14:47:43 +0000 (16:47 +0200)]
Adding headers for libdde (not strictly part of ddekit)

Change-Id: I87ad9df2034e70eea857d436862ab89d5c0c707f

http://gerrit.minix3.org/#/c/2559/

10 years agoMessage type for PM_EXEC
Lionel Sambuc [Tue, 13 May 2014 14:36:03 +0000 (16:36 +0200)]
Message type for PM_EXEC

Change-Id: I6738716ba835d6196519056bb77afa8ec99f122a

10 years agoMessage type for PM_MCONTEXT
Lionel Sambuc [Tue, 13 May 2014 14:21:04 +0000 (16:21 +0200)]
Message type for PM_MCONTEXT

Change-Id: I4ab9fc23ce8d78e03582580feba5ba96541f0f7e

10 years agoMessage type for PM_GETSID
Lionel Sambuc [Tue, 13 May 2014 13:13:12 +0000 (15:13 +0200)]
Message type for PM_GETSID

Change-Id: Ife3f9f6a7b6190baca6f379f7d3c36388baf6904

10 years agoMessage type for PM_GETPID
Lionel Sambuc [Tue, 13 May 2014 13:05:05 +0000 (15:05 +0200)]
Message type for PM_GETPID

Change-Id: Ib3ff13ad9c9e30bde08d4cacb6905955ace73924

10 years agoMessage type for PM_SET{,E}GID
Lionel Sambuc [Tue, 13 May 2014 12:55:47 +0000 (14:55 +0200)]
Message type for PM_SET{,E}GID

Change-Id: I489d9290553b28361344e0cfd59c31e7e672c22c

10 years agoMessage type for PM_SET{,E}UID
Lionel Sambuc [Tue, 13 May 2014 12:52:48 +0000 (14:52 +0200)]
Message type for PM_SET{,E}UID

Change-Id: I5421646713e74562400e705b4a0f8b99f1325d64

10 years agoMessage type for PM_GETGID
Lionel Sambuc [Tue, 13 May 2014 12:47:11 +0000 (14:47 +0200)]
Message type for PM_GETGID

Change-Id: If3f788b0ad5a7389a62ecec3da78d6d71090f9a8

10 years agoMessage type for PM_GETUID
Lionel Sambuc [Tue, 13 May 2014 12:41:26 +0000 (14:41 +0200)]
Message type for PM_GETUID

Change-Id: I9a04f5a8b0e9099e0df543bcf76b2610a8803b9a

10 years agoMessage type for PM_REBOOT
Lionel Sambuc [Tue, 13 May 2014 12:27:52 +0000 (14:27 +0200)]
Message type for PM_REBOOT

Change-Id: I8de1b0de1a4c79f60a7df4720943ed9d0a19725c

10 years agoMessage type for PM_GROUPS
Lionel Sambuc [Tue, 13 May 2014 12:14:49 +0000 (14:14 +0200)]
Message type for PM_GROUPS

Change-Id: I9e3b784143dd0294a8aad27e3cc588e5b57dabfc

10 years agoMessage type for PM_{S,G}ET_PRIORITY
Lionel Sambuc [Tue, 13 May 2014 11:56:04 +0000 (13:56 +0200)]
Message type for PM_{S,G}ET_PRIORITY

Change-Id: I3cf77f786751ca7e5a8cd13b8716b228d0fbf7fe

10 years agoMessage type for PM_SRV_FORK
Lionel Sambuc [Tue, 13 May 2014 11:35:40 +0000 (13:35 +0200)]
Message type for PM_SRV_FORK

Change-Id: I0e112da380805d40901a4041fd82da6e842e1f9b

10 years agoMessage type for PM_EXEC_RESTART
Lionel Sambuc [Tue, 13 May 2014 11:22:52 +0000 (13:22 +0200)]
Message type for PM_EXEC_RESTART

Change-Id: I0b7abd7b20a56a7982bccd0f677c1cf9d6bf7d3b

10 years agoMessage type for PM_EXEC_NEW
Lionel Sambuc [Tue, 13 May 2014 10:07:25 +0000 (12:07 +0200)]
Message type for PM_EXEC_NEW

Change-Id: Idff5dc394d8daf4cb0c40d65cfdf2d54c2f9acaa

10 years agoMessage type for PM_SYSUNAME
Lionel Sambuc [Tue, 13 May 2014 09:31:36 +0000 (11:31 +0200)]
Message type for PM_SYSUNAME

Change-Id: I58bd2987393ea56e1886fbce70b4b2c26af4ef2b

10 years agoMessage type for PM_PTRACE
Lionel Sambuc [Tue, 13 May 2014 08:07:12 +0000 (10:07 +0200)]
Message type for PM_PTRACE

Change-Id: I19bbd5faa5c7511cda0239109b2ac55869c47b96

10 years agoMessage type for PM_ITIMER
Lionel Sambuc [Tue, 13 May 2014 06:43:49 +0000 (08:43 +0200)]
Message type for PM_ITIMER

Change-Id: I191ba9630028d9822f6a2fd4d7d3f461eb4d1493

10 years agoMessage type for PM_ time-related calls
Lionel Sambuc [Mon, 12 May 2014 21:40:11 +0000 (23:40 +0200)]
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

10 years agoMessage type for PM_WAITPID
Lionel Sambuc [Mon, 12 May 2014 18:53:02 +0000 (20:53 +0200)]
Message type for PM_WAITPID

Change-Id: Ic2637a30418b9c780504f21a93ee80cef09ee1f2

10 years agoMessage type for PM_GETEPINFO
Lionel Sambuc [Mon, 12 May 2014 16:55:29 +0000 (18:55 +0200)]
Message type for PM_GETEPINFO

Change-Id: I275f5c50d433fa400c5eddbc85dd3df8eb5dcb90

10 years agoMessage type for PM_GETPROCNR
Lionel Sambuc [Mon, 12 May 2014 16:54:52 +0000 (18:54 +0200)]
Message type for PM_GETPROCNR

Change-Id: I4fcd682f78255afc1fdc0160fb6f1a3d2fe05d2e

10 years agoMessage type and related cleanup
Lionel Sambuc [Mon, 12 May 2014 16:17:10 +0000 (18:17 +0200)]
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

10 years agoMessage type for VFS_CLOSE
Lionel Sambuc [Mon, 12 May 2014 15:16:00 +0000 (17:16 +0200)]
Message type for VFS_CLOSE

Change-Id: Iebe5f06b0dc95cdca61d95ab875d4fa1171f4f4c

10 years agoMessage type for VFS_FCHMOD
Lionel Sambuc [Mon, 12 May 2014 15:05:32 +0000 (17:05 +0200)]
Message type for VFS_FCHMOD

Change-Id: I933e5b5a214aa9e7ddb6546b459ef40688e8ca04

10 years agoMessage type for VFS_FCHDIR
Lionel Sambuc [Mon, 12 May 2014 14:58:19 +0000 (16:58 +0200)]
Message type for VFS_FCHDIR

Change-Id: Ie7de90d37a39e89f35438a5b01a9e878a06194b2

10 years agoMessage type for VFS_{,F}CHOWN
Lionel Sambuc [Mon, 12 May 2014 14:48:10 +0000 (16:48 +0200)]
Message type for VFS_{,F}CHOWN

Change-Id: Ieb8cef45bfab1e35ad8854038c72b59a4d7bbaad

10 years agoMessage type for VFS_CREAT
Lionel Sambuc [Mon, 12 May 2014 14:42:43 +0000 (16:42 +0200)]
Message type for VFS_CREAT

Change-Id: Ica111f1b2005a6ff42dc3bb59ac3158a2e12678c

10 years agoMessage type for path related calls.
Lionel Sambuc [Mon, 12 May 2014 14:30:43 +0000 (16:30 +0200)]
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

10 years agoMessage type for VFS_MKNOD
Lionel Sambuc [Mon, 12 May 2014 13:04:23 +0000 (15:04 +0200)]
Message type for VFS_MKNOD

Change-Id: Ief8c6664d79c320a70543c10b758b784fdfa7cfd

10 years agoMessage type for VFS_FCNTL
Lionel Sambuc [Mon, 12 May 2014 12:58:20 +0000 (14:58 +0200)]
Message type for VFS_FCNTL

Change-Id: I079f3d7902cf5501fbc594a5610acd370abea095

10 years agoMessage type for VFS_FSTAT
Lionel Sambuc [Mon, 12 May 2014 12:19:05 +0000 (14:19 +0200)]
Message type for VFS_FSTAT

Change-Id: Ibdedcac120fc4bf78e28291d9c97fe02df1928db

10 years agoMessage type for VFS_{,L}STAT
Lionel Sambuc [Mon, 12 May 2014 12:12:18 +0000 (14:12 +0200)]
Message type for VFS_{,L}STAT

Change-Id: I61db8484c14f0371214a0495774dc0b1d97f2099

10 years agoMessage type for VFS_READLINK
Lionel Sambuc [Mon, 12 May 2014 12:05:17 +0000 (14:05 +0200)]
Message type for VFS_READLINK

Change-Id: I5da187cd22147448daa5a82568f0bd8bdcc2906f

10 years agoMessage type for VFS_{LINK,SYMLINK,RENAME}
Lionel Sambuc [Mon, 12 May 2014 11:47:18 +0000 (13:47 +0200)]
Message type for VFS_{LINK,SYMLINK,RENAME}

Change-Id: If4569bac4584e053b7c4816fe47338327175fd44

10 years agoMessage type for VFS_UMASK
Lionel Sambuc [Mon, 12 May 2014 11:37:39 +0000 (13:37 +0200)]
Message type for VFS_UMASK

Change-Id: Iaf8f83593adbbf50b82feecbe8fad004da2add72

10 years agoMessage type for VFS_PIPE2
Lionel Sambuc [Mon, 12 May 2014 11:28:42 +0000 (13:28 +0200)]
Message type for VFS_PIPE2

Change-Id: I01c599cf035d8f103220baae54fefbc80d12fbd2

10 years agoMessage type for VFS_TRUNCATE
Lionel Sambuc [Mon, 12 May 2014 11:24:16 +0000 (13:24 +0200)]
Message type for VFS_TRUNCATE

Change-Id: I6f51c979c8986660883221d3acfa07d1c1b25dff

10 years agoMessage type for VFS_LSEEK
Lionel Sambuc [Mon, 12 May 2014 11:16:40 +0000 (13:16 +0200)]
Message type for VFS_LSEEK

Change-Id: I592284078572e4abf2b181d3b4e8281c9baf8a7b

10 years agoMessage type for VFS_FSYNC
Lionel Sambuc [Mon, 12 May 2014 11:07:11 +0000 (13:07 +0200)]
Message type for VFS_FSYNC

Change-Id: Iae9d27dbf40bc5567de6c5960f5cbe174be00dbd

10 years agoMessage type for VFS_MAPDRIVER
Lionel Sambuc [Mon, 12 May 2014 11:03:55 +0000 (13:03 +0200)]
Message type for VFS_MAPDRIVER

Change-Id: I979a8769b72cd06efbedf0c6735ac3cd0c4dd2e3

10 years agoMessage type for VFS_COPYFD
Lionel Sambuc [Mon, 12 May 2014 10:58:56 +0000 (12:58 +0200)]
Message type for VFS_COPYFD

Change-Id: I7aff1b9551d3a60b2191de1bac3b695ea06b73ce

10 years agoMessage type for VFS_CHECKPERMS
Lionel Sambuc [Mon, 12 May 2014 10:53:20 +0000 (12:53 +0200)]
Message type for VFS_CHECKPERMS

Change-Id: Ie97bb7362d108ebba268c719a6614fc2fe1392cf

10 years agoMessage type for VFS_IOCTL
Lionel Sambuc [Mon, 12 May 2014 10:46:59 +0000 (12:46 +0200)]
Message type for VFS_IOCTL

Change-Id: Ibea0fd2f443c1332bf1c9d138840d838bfc81d81

10 years agoMessage type for VFS_UMOUNT
Lionel Sambuc [Mon, 12 May 2014 10:44:59 +0000 (12:44 +0200)]
Message type for VFS_UMOUNT

Change-Id: Ia3b8e818b45a31178215cad77fa0fa3e5325f18a

10 years agoMessage type for VFS_MOUNT
Lionel Sambuc [Mon, 12 May 2014 10:00:38 +0000 (12:00 +0200)]
Message type for VFS_MOUNT

Change-Id: I4114f5a1aa4f9efe49a12996722499b695c17230

10 years agoMessage type for VFS_{,F}STATVFS1
Lionel Sambuc [Mon, 12 May 2014 09:49:08 +0000 (11:49 +0200)]
Message type for VFS_{,F}STATVFS1

Change-Id: Iaf71cdddb48f64d84773029da2c0666f5462f198

10 years agoMessage type for VFS_GETVFSSTAT
Lionel Sambuc [Mon, 12 May 2014 09:34:18 +0000 (11:34 +0200)]
Message type for VFS_GETVFSSTAT

Change-Id: I27f1f6dc37832ee4adb9854c7306ce6153e31567

10 years agoMessage type for VFS_SELECT
Lionel Sambuc [Mon, 12 May 2014 09:21:52 +0000 (11:21 +0200)]
Message type for VFS_SELECT

Change-Id: Ifd6cb7082dd528f1698a0ca070de447aad85ba60

10 years agoSome cleanup in IPC headers and documentation.
Lionel Sambuc [Thu, 1 May 2014 13:07:57 +0000 (15:07 +0200)]
Some cleanup in IPC headers and documentation.

 - Cleanup of unused macros for VFS - FS protocols
 - Update servers/vfs/README to reflect the new requests names.
 - Alphabetically re-order the message union, as well as minor
   formatting, for readability.

Change-Id: Ief7c38489e93bcf5f795dccbf3a8e10b44b95af4

10 years agoRemove protocol version of {mode,ino,uid,gid}_t
Lionel Sambuc [Thu, 1 May 2014 14:19:28 +0000 (16:19 +0200)]
Remove protocol version of {mode,ino,uid,gid}_t

Now that we have enough room in the message, remove these types.

Change-Id: Ib734c6f0209b259a14a1189b3886b9c8474e1b9a

10 years agoMessage types for VFS read, write & peek
Lionel Sambuc [Mon, 28 Apr 2014 18:19:19 +0000 (20:19 +0200)]
Message types for VFS read, write & peek

All of these requests share the same message type as at least one server
manages those requests in the same handler, just by checking the actual
type of the request, and then acting upon it.

Change-Id: I17337b4c67ae209523574c22ccc108cf5f1e65e9

10 years agoMessage types for VFS bread, bwrite & bpeek
Lionel Sambuc [Thu, 1 May 2014 11:45:58 +0000 (13:45 +0200)]
Message types for VFS bread, bwrite & bpeek

These two request are handled by the same function in some FSes, which
prevents us from using two different kinds of messages.

Change-Id: Ib2fc80bdd56ef67db6b4c51cf8963353a761aab1

10 years agoMessage types for VFS chown
Lionel Sambuc [Thu, 1 May 2014 09:40:33 +0000 (11:40 +0200)]
Message types for VFS chown

Change-Id: I1dc50772fd28b0c698d85922ad0ad3b41dde006c

10 years agoMessage types for VFS statvfs
Lionel Sambuc [Thu, 1 May 2014 09:19:18 +0000 (11:19 +0200)]
Message types for VFS statvfs

Change-Id: If84f53577510399aa1238cfcd0b8aa1fb13c2490

10 years agoMessage types for VFS chmod
Lionel Sambuc [Wed, 30 Apr 2014 18:37:50 +0000 (20:37 +0200)]
Message types for VFS chmod

Change-Id: I76e5df4c0a386682e863e640182c59e4ab7e30be

10 years agoMessage types for VFS mknod
Lionel Sambuc [Wed, 30 Apr 2014 18:00:29 +0000 (20:00 +0200)]
Message types for VFS mknod

Change-Id: I41772ffe0efc520b3cd204857c33c8c76d81a5a8

10 years agoMessage types for VFS mkdir
Lionel Sambuc [Wed, 30 Apr 2014 17:44:48 +0000 (19:44 +0200)]
Message types for VFS mkdir

Change-Id: I05ea5b5e14e28afdfab6edcabc1dc761389f2638

10 years agoMessage types for VFS unlink & rmdir
Lionel Sambuc [Thu, 1 May 2014 08:06:10 +0000 (10:06 +0200)]
Message types for VFS unlink & rmdir

These two request are handled by the same function in some FSes, which
prevents us from using two different kinds of messages.

Change-Id: Iede3a0251d8d84ca7f121c56f30f42b045b0c737

10 years agoMessage types for VFS stat
Lionel Sambuc [Thu, 1 May 2014 08:05:07 +0000 (10:05 +0200)]
Message types for VFS stat

Change-Id: I1d40ae7c3c32a4f7b80c82bc2fa8b157b20a6837

10 years agoMessage types for VFS inhibread
Lionel Sambuc [Wed, 30 Apr 2014 14:17:44 +0000 (16:17 +0200)]
Message types for VFS inhibread

Change-Id: I4ce20a4566033593e4784fd278d7ff7fda16dd9d

10 years agoMessage types for VFS putnode
Lionel Sambuc [Mon, 28 Apr 2014 17:12:06 +0000 (19:12 +0200)]
Message types for VFS putnode

Change-Id: I0802ccaaaa6ee1b4eb96d62b08f9795c790ce39b

10 years agoMessage types for VFS link
Lionel Sambuc [Wed, 30 Apr 2014 13:33:48 +0000 (15:33 +0200)]
Message types for VFS link

Change-Id: Ibe03e7c9fded7f3764ecbe3e35b92df3662e54a4

10 years agoMessage types for VFS rdlink
Lionel Sambuc [Wed, 30 Apr 2014 08:20:16 +0000 (10:20 +0200)]
Message types for VFS rdlink

Change-Id: Ic077e99fb140a3a1de849f7f761fdfd90961f5d8

10 years agoMessage types for VFS getdents
Lionel Sambuc [Wed, 30 Apr 2014 07:55:55 +0000 (09:55 +0200)]
Message types for VFS getdents

Change-Id: I7474d7547f1fd52f4da54754ccfe984ba1a2baa8

10 years agoMessage types for VFS new_driver
Lionel Sambuc [Tue, 29 Apr 2014 19:13:28 +0000 (21:13 +0200)]
Message types for VFS new_driver

Change-Id: If1b6ee2c5beb43e72a69c27dbc32b72525831962

10 years agoMessage types for VFS slink
Lionel Sambuc [Tue, 29 Apr 2014 18:59:48 +0000 (20:59 +0200)]
Message types for VFS slink

Change-Id: I13975474b924817553101c28591b4c04e8679173

10 years agoMessage types for VFS utime
Lionel Sambuc [Tue, 29 Apr 2014 18:08:54 +0000 (20:08 +0200)]
Message types for VFS utime

Change-Id: If7e5faa13a824528fd8ca02bd6982e04d48032e9

10 years agoMessage types for VFS ftrunc
Lionel Sambuc [Tue, 29 Apr 2014 17:33:47 +0000 (19:33 +0200)]
Message types for VFS ftrunc

Change-Id: I593a4d91b1d974f632f6cb4eb23aabee5b65df7b

10 years agoMessage types for VFS rename
Lionel Sambuc [Tue, 29 Apr 2014 16:36:15 +0000 (18:36 +0200)]
Message types for VFS rename

Change-Id: I48a4098c16519e9c104b287d7bdf95ed6a2a7323

10 years agoMessage types for VFS flush
Lionel Sambuc [Tue, 29 Apr 2014 14:15:37 +0000 (16:15 +0200)]
Message types for VFS flush

Change-Id: Ida7cbff4402bf876603a2153e2784699d93c03ea

10 years agoMessage types for VFS mountpoint
Lionel Sambuc [Tue, 29 Apr 2014 13:35:42 +0000 (15:35 +0200)]
Message types for VFS mountpoint

Change-Id: I61c5729628b9b9262cc11415591b1b0f25ad04a8

10 years agoMessage types for VFS newnode
Lionel Sambuc [Mon, 28 Apr 2014 16:54:18 +0000 (18:54 +0200)]
Message types for VFS newnode

Change-Id: I5c0790fc1104182ab08bcae699c60a364833c360

10 years agoMessage types for VFS create
Lionel Sambuc [Mon, 28 Apr 2014 16:25:26 +0000 (18:25 +0200)]
Message types for VFS create

Change-Id: Ibeba338337eb16814b5b25f7135da958e8316a99

10 years agoMessage types for VFS lookup
Lionel Sambuc [Mon, 28 Apr 2014 15:45:52 +0000 (17:45 +0200)]
Message types for VFS lookup

Change-Id: Ic4d2a616ebc986c4b405b6b9ee0bd7c3b59e81d2

10 years agoMessage types for VFS readsuper
Lionel Sambuc [Mon, 28 Apr 2014 14:45:11 +0000 (16:45 +0200)]
Message types for VFS readsuper

Change-Id: I7aea85d9842459ea454420bb1687d9b8eb597914

10 years agoRemove unused generic message m6
Lionel Sambuc [Thu, 1 May 2014 13:43:02 +0000 (15:43 +0200)]
Remove unused generic message m6

Change-Id: Ie99dca9b75325b3c4890718f8ac7aa49a8973798

10 years agoIntroduce message types mess_u{8,16,32,64}
Lionel Sambuc [Mon, 28 Apr 2014 12:21:40 +0000 (14:21 +0200)]
Introduce message types mess_u{8,16,32,64}

Those messages offer a simple array of the given type. This should allow
for fast and simple prototyping.

When a protocol is fixed, then proper message types should be defined.

Change-Id: I4e98eeb0493924f3015862a51d14d894315e2bc2

10 years agoservers/iso9660fs: drop unused function fs_access
Lionel Sambuc [Thu, 1 May 2014 09:46:28 +0000 (11:46 +0200)]
servers/iso9660fs: drop unused function fs_access

As a consequence, remove protect.c which is now empty.

Change-Id: I675f9059510b3a22262f2bab4f18964a5356aa62

10 years agoUse fixed size type for on-disk representation
Lionel Sambuc [Fri, 2 May 2014 05:41:15 +0000 (07:41 +0200)]
Use fixed size type for on-disk representation

Use fixed size for directory entries records, instead of semantic type
in the struct which is used to access on-disk records.

Change-Id: If8816d367eaa7070ccb17202ffc9047b5aee5d3e

10 years agoadded sethostname syscall with proper error checks
Morgawr [Thu, 24 Apr 2014 00:12:48 +0000 (02:12 +0200)]
added sethostname syscall with proper error checks

Change-Id: I4b4e0a7c4035e19d5843b86ee1f714096adcecd2

10 years agoadded chmod util from NetBSD userland
Morgawr [Tue, 22 Apr 2014 23:48:23 +0000 (01:48 +0200)]
added chmod util from NetBSD userland

Change-Id: Ice81a29becedcebfc1ff42ac9826c291b6451189

10 years agoremove __BIT_TYPES_DEFINED__ because they are actually not defined.
Kees Jongenburger [Tue, 1 Apr 2014 09:19:17 +0000 (09:19 +0000)]
remove __BIT_TYPES_DEFINED__ because they are actually not defined.

Change-Id: Iae6489c013ff92042f001d50e9a9983a409c268e

10 years agoarm:ddekit use simple alloc to allocate stack.
Kees Jongenburger [Tue, 29 Apr 2014 06:55:34 +0000 (08:55 +0200)]
arm:ddekit use simple alloc to allocate stack.

Workaround for:
-ddekit large alloc unnecessarily allocating physical contiguous memory.
-the ARM port expecting that physical contiguous memory equals device memory.

10 years agoStub for setpgid
Lionel Sambuc [Thu, 24 Apr 2014 11:39:50 +0000 (13:39 +0200)]
Stub for setpgid

This implements a near noop setpgid, unless the use is one equivalent
to setsid, in which case it will behave as such.

Also activates setpgrp, which is implemented in terms of setpgid.

Change-Id: I84411cb1957351aa1d3985623cd9e69bdf6f8d4c

10 years agoStub for setrlimit
Lionel Sambuc [Mon, 28 Apr 2014 08:05:45 +0000 (10:05 +0200)]
Stub for setrlimit

Change-Id: I54c7233d71805711bd72e1e751456aad30fd3e35

10 years agoImporting sbin/chown
Lionel Sambuc [Wed, 26 Mar 2014 17:35:18 +0000 (18:35 +0100)]
Importing sbin/chown

Change-Id: I49950ec241985a8a8f1fc29e01c0212278fbeaa9

10 years agoFrom Ben Gras, add select support on /dev/random.
Lionel Sambuc [Wed, 16 Apr 2014 11:57:52 +0000 (13:57 +0200)]
From Ben Gras, add select support on /dev/random.

Change-Id: I47bf4c45285458ecc224df0564edf98afdb2c9d6

10 years agoPrefix libc (u)mount with minix_
Lionel Sambuc [Mon, 17 Mar 2014 13:01:22 +0000 (14:01 +0100)]
Prefix libc (u)mount with minix_

The goal is to prevent a name collision with the expected mount/umount
function signatures, if we decide one day to allow any application
using those to work on MINIX.

At this moment the caller has to start the required services, but if we
implement that logic inside the mount/unmout function, this would allow
any application to call those function successfully.

By renaming those now, we prevent a possible ABI break in the future.

Change-Id: Iaf6a9472bca0dda6bfe634bdb6029b3aa2e1ea3b

10 years agoin6.h
Lionel Sambuc [Tue, 22 Apr 2014 16:50:26 +0000 (18:50 +0200)]
in6.h

Change-Id: Id548a6a144ca77ef3a7bb76f24b8b902efd680b4

10 years agoFollow the namespace pattern for [cs]profile
Lionel Sambuc [Mon, 14 Apr 2014 09:49:40 +0000 (11:49 +0200)]
Follow the namespace pattern for [cs]profile

Change-Id: I5ad7eb1d7f4b4364e668c2f30dfc628f89b0d579