]>
Zhao Yanbai Git Server - minix.git/log
Lionel Sambuc [Tue, 13 May 2014 12:41:26 +0000 (14:41 +0200)]
Message type for PM_GETUID
Change-Id: I9a04f5a8b0e9099e0df543bcf76b2610a8803b9a
Lionel Sambuc [Tue, 13 May 2014 12:27:52 +0000 (14:27 +0200)]
Message type for PM_REBOOT
Change-Id: I8de1b0de1a4c79f60a7df4720943ed9d0a19725c
Lionel Sambuc [Tue, 13 May 2014 12:14:49 +0000 (14:14 +0200)]
Message type for PM_GROUPS
Change-Id: I9e3b784143dd0294a8aad27e3cc588e5b57dabfc
Lionel Sambuc [Tue, 13 May 2014 11:56:04 +0000 (13:56 +0200)]
Message type for PM_{S,G}ET_PRIORITY
Change-Id: I3cf77f786751ca7e5a8cd13b8716b228d0fbf7fe
Lionel Sambuc [Tue, 13 May 2014 11:35:40 +0000 (13:35 +0200)]
Message type for PM_SRV_FORK
Change-Id: I0e112da380805d40901a4041fd82da6e842e1f9b
Lionel Sambuc [Tue, 13 May 2014 11:22:52 +0000 (13:22 +0200)]
Message type for PM_EXEC_RESTART
Change-Id: I0b7abd7b20a56a7982bccd0f677c1cf9d6bf7d3b
Lionel Sambuc [Tue, 13 May 2014 10:07:25 +0000 (12:07 +0200)]
Message type for PM_EXEC_NEW
Change-Id: Idff5dc394d8daf4cb0c40d65cfdf2d54c2f9acaa
Lionel Sambuc [Tue, 13 May 2014 09:31:36 +0000 (11:31 +0200)]
Message type for PM_SYSUNAME
Change-Id: I58bd2987393ea56e1886fbce70b4b2c26af4ef2b
Lionel Sambuc [Tue, 13 May 2014 08:07:12 +0000 (10:07 +0200)]
Message type for PM_PTRACE
Change-Id: I19bbd5faa5c7511cda0239109b2ac55869c47b96
Lionel Sambuc [Tue, 13 May 2014 06:43:49 +0000 (08:43 +0200)]
Message type for PM_ITIMER
Change-Id: I191ba9630028d9822f6a2fd4d7d3f461eb4d1493
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
Lionel Sambuc [Mon, 12 May 2014 18:53:02 +0000 (20:53 +0200)]
Message type for PM_WAITPID
Change-Id: Ic2637a30418b9c780504f21a93ee80cef09ee1f2
Lionel Sambuc [Mon, 12 May 2014 16:55:29 +0000 (18:55 +0200)]
Message type for PM_GETEPINFO
Change-Id: I275f5c50d433fa400c5eddbc85dd3df8eb5dcb90
Lionel Sambuc [Mon, 12 May 2014 16:54:52 +0000 (18:54 +0200)]
Message type for PM_GETPROCNR
Change-Id: I4fcd682f78255afc1fdc0160fb6f1a3d2fe05d2e
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
Lionel Sambuc [Mon, 12 May 2014 15:16:00 +0000 (17:16 +0200)]
Message type for VFS_CLOSE
Change-Id: Iebe5f06b0dc95cdca61d95ab875d4fa1171f4f4c
Lionel Sambuc [Mon, 12 May 2014 15:05:32 +0000 (17:05 +0200)]
Message type for VFS_FCHMOD
Change-Id: I933e5b5a214aa9e7ddb6546b459ef40688e8ca04
Lionel Sambuc [Mon, 12 May 2014 14:58:19 +0000 (16:58 +0200)]
Message type for VFS_FCHDIR
Change-Id: Ie7de90d37a39e89f35438a5b01a9e878a06194b2
Lionel Sambuc [Mon, 12 May 2014 14:48:10 +0000 (16:48 +0200)]
Message type for VFS_{,F}CHOWN
Change-Id: Ieb8cef45bfab1e35ad8854038c72b59a4d7bbaad
Lionel Sambuc [Mon, 12 May 2014 14:42:43 +0000 (16:42 +0200)]
Message type for VFS_CREAT
Change-Id: Ica111f1b2005a6ff42dc3bb59ac3158a2e12678c
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
Lionel Sambuc [Mon, 12 May 2014 13:04:23 +0000 (15:04 +0200)]
Message type for VFS_MKNOD
Change-Id: Ief8c6664d79c320a70543c10b758b784fdfa7cfd
Lionel Sambuc [Mon, 12 May 2014 12:58:20 +0000 (14:58 +0200)]
Message type for VFS_FCNTL
Change-Id: I079f3d7902cf5501fbc594a5610acd370abea095
Lionel Sambuc [Mon, 12 May 2014 12:19:05 +0000 (14:19 +0200)]
Message type for VFS_FSTAT
Change-Id: Ibdedcac120fc4bf78e28291d9c97fe02df1928db
Lionel Sambuc [Mon, 12 May 2014 12:12:18 +0000 (14:12 +0200)]
Message type for VFS_{,L}STAT
Change-Id: I61db8484c14f0371214a0495774dc0b1d97f2099
Lionel Sambuc [Mon, 12 May 2014 12:05:17 +0000 (14:05 +0200)]
Message type for VFS_READLINK
Change-Id: I5da187cd22147448daa5a82568f0bd8bdcc2906f
Lionel Sambuc [Mon, 12 May 2014 11:47:18 +0000 (13:47 +0200)]
Message type for VFS_{LINK,SYMLINK,RENAME}
Change-Id: If4569bac4584e053b7c4816fe47338327175fd44
Lionel Sambuc [Mon, 12 May 2014 11:37:39 +0000 (13:37 +0200)]
Message type for VFS_UMASK
Change-Id: Iaf8f83593adbbf50b82feecbe8fad004da2add72
Lionel Sambuc [Mon, 12 May 2014 11:28:42 +0000 (13:28 +0200)]
Message type for VFS_PIPE2
Change-Id: I01c599cf035d8f103220baae54fefbc80d12fbd2
Lionel Sambuc [Mon, 12 May 2014 11:24:16 +0000 (13:24 +0200)]
Message type for VFS_TRUNCATE
Change-Id: I6f51c979c8986660883221d3acfa07d1c1b25dff
Lionel Sambuc [Mon, 12 May 2014 11:16:40 +0000 (13:16 +0200)]
Message type for VFS_LSEEK
Change-Id: I592284078572e4abf2b181d3b4e8281c9baf8a7b
Lionel Sambuc [Mon, 12 May 2014 11:07:11 +0000 (13:07 +0200)]
Message type for VFS_FSYNC
Change-Id: Iae9d27dbf40bc5567de6c5960f5cbe174be00dbd
Lionel Sambuc [Mon, 12 May 2014 11:03:55 +0000 (13:03 +0200)]
Message type for VFS_MAPDRIVER
Change-Id: I979a8769b72cd06efbedf0c6735ac3cd0c4dd2e3
Lionel Sambuc [Mon, 12 May 2014 10:58:56 +0000 (12:58 +0200)]
Message type for VFS_COPYFD
Change-Id: I7aff1b9551d3a60b2191de1bac3b695ea06b73ce
Lionel Sambuc [Mon, 12 May 2014 10:53:20 +0000 (12:53 +0200)]
Message type for VFS_CHECKPERMS
Change-Id: Ie97bb7362d108ebba268c719a6614fc2fe1392cf
Lionel Sambuc [Mon, 12 May 2014 10:46:59 +0000 (12:46 +0200)]
Message type for VFS_IOCTL
Change-Id: Ibea0fd2f443c1332bf1c9d138840d838bfc81d81
Lionel Sambuc [Mon, 12 May 2014 10:44:59 +0000 (12:44 +0200)]
Message type for VFS_UMOUNT
Change-Id: Ia3b8e818b45a31178215cad77fa0fa3e5325f18a
Lionel Sambuc [Mon, 12 May 2014 10:00:38 +0000 (12:00 +0200)]
Message type for VFS_MOUNT
Change-Id: I4114f5a1aa4f9efe49a12996722499b695c17230
Lionel Sambuc [Mon, 12 May 2014 09:49:08 +0000 (11:49 +0200)]
Message type for VFS_{,F}STATVFS1
Change-Id: Iaf71cdddb48f64d84773029da2c0666f5462f198
Lionel Sambuc [Mon, 12 May 2014 09:34:18 +0000 (11:34 +0200)]
Message type for VFS_GETVFSSTAT
Change-Id: I27f1f6dc37832ee4adb9854c7306ce6153e31567
Lionel Sambuc [Mon, 12 May 2014 09:21:52 +0000 (11:21 +0200)]
Message type for VFS_SELECT
Change-Id: Ifd6cb7082dd528f1698a0ca070de447aad85ba60
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
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
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
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
Lionel Sambuc [Thu, 1 May 2014 09:40:33 +0000 (11:40 +0200)]
Message types for VFS chown
Change-Id: I1dc50772fd28b0c698d85922ad0ad3b41dde006c
Lionel Sambuc [Thu, 1 May 2014 09:19:18 +0000 (11:19 +0200)]
Message types for VFS statvfs
Change-Id: If84f53577510399aa1238cfcd0b8aa1fb13c2490
Lionel Sambuc [Wed, 30 Apr 2014 18:37:50 +0000 (20:37 +0200)]
Message types for VFS chmod
Change-Id: I76e5df4c0a386682e863e640182c59e4ab7e30be
Lionel Sambuc [Wed, 30 Apr 2014 18:00:29 +0000 (20:00 +0200)]
Message types for VFS mknod
Change-Id: I41772ffe0efc520b3cd204857c33c8c76d81a5a8
Lionel Sambuc [Wed, 30 Apr 2014 17:44:48 +0000 (19:44 +0200)]
Message types for VFS mkdir
Change-Id: I05ea5b5e14e28afdfab6edcabc1dc761389f2638
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
Lionel Sambuc [Thu, 1 May 2014 08:05:07 +0000 (10:05 +0200)]
Message types for VFS stat
Change-Id: I1d40ae7c3c32a4f7b80c82bc2fa8b157b20a6837
Lionel Sambuc [Wed, 30 Apr 2014 14:17:44 +0000 (16:17 +0200)]
Message types for VFS inhibread
Change-Id: I4ce20a4566033593e4784fd278d7ff7fda16dd9d
Lionel Sambuc [Mon, 28 Apr 2014 17:12:06 +0000 (19:12 +0200)]
Message types for VFS putnode
Change-Id: I0802ccaaaa6ee1b4eb96d62b08f9795c790ce39b
Lionel Sambuc [Wed, 30 Apr 2014 13:33:48 +0000 (15:33 +0200)]
Message types for VFS link
Change-Id: Ibe03e7c9fded7f3764ecbe3e35b92df3662e54a4
Lionel Sambuc [Wed, 30 Apr 2014 08:20:16 +0000 (10:20 +0200)]
Message types for VFS rdlink
Change-Id: Ic077e99fb140a3a1de849f7f761fdfd90961f5d8
Lionel Sambuc [Wed, 30 Apr 2014 07:55:55 +0000 (09:55 +0200)]
Message types for VFS getdents
Change-Id: I7474d7547f1fd52f4da54754ccfe984ba1a2baa8
Lionel Sambuc [Tue, 29 Apr 2014 19:13:28 +0000 (21:13 +0200)]
Message types for VFS new_driver
Change-Id: If1b6ee2c5beb43e72a69c27dbc32b72525831962
Lionel Sambuc [Tue, 29 Apr 2014 18:59:48 +0000 (20:59 +0200)]
Message types for VFS slink
Change-Id: I13975474b924817553101c28591b4c04e8679173
Lionel Sambuc [Tue, 29 Apr 2014 18:08:54 +0000 (20:08 +0200)]
Message types for VFS utime
Change-Id: If7e5faa13a824528fd8ca02bd6982e04d48032e9
Lionel Sambuc [Tue, 29 Apr 2014 17:33:47 +0000 (19:33 +0200)]
Message types for VFS ftrunc
Change-Id: I593a4d91b1d974f632f6cb4eb23aabee5b65df7b
Lionel Sambuc [Tue, 29 Apr 2014 16:36:15 +0000 (18:36 +0200)]
Message types for VFS rename
Change-Id: I48a4098c16519e9c104b287d7bdf95ed6a2a7323
Lionel Sambuc [Tue, 29 Apr 2014 14:15:37 +0000 (16:15 +0200)]
Message types for VFS flush
Change-Id: Ida7cbff4402bf876603a2153e2784699d93c03ea
Lionel Sambuc [Tue, 29 Apr 2014 13:35:42 +0000 (15:35 +0200)]
Message types for VFS mountpoint
Change-Id: I61c5729628b9b9262cc11415591b1b0f25ad04a8
Lionel Sambuc [Mon, 28 Apr 2014 16:54:18 +0000 (18:54 +0200)]
Message types for VFS newnode
Change-Id: I5c0790fc1104182ab08bcae699c60a364833c360
Lionel Sambuc [Mon, 28 Apr 2014 16:25:26 +0000 (18:25 +0200)]
Message types for VFS create
Change-Id: Ibeba338337eb16814b5b25f7135da958e8316a99
Lionel Sambuc [Mon, 28 Apr 2014 15:45:52 +0000 (17:45 +0200)]
Message types for VFS lookup
Change-Id: Ic4d2a616ebc986c4b405b6b9ee0bd7c3b59e81d2
Lionel Sambuc [Mon, 28 Apr 2014 14:45:11 +0000 (16:45 +0200)]
Message types for VFS readsuper
Change-Id: I7aea85d9842459ea454420bb1687d9b8eb597914
Lionel Sambuc [Thu, 1 May 2014 13:43:02 +0000 (15:43 +0200)]
Remove unused generic message m6
Change-Id: Ie99dca9b75325b3c4890718f8ac7aa49a8973798
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
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
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
Morgawr [Thu, 24 Apr 2014 00:12:48 +0000 (02:12 +0200)]
added sethostname syscall with proper error checks
Change-Id: I4b4e0a7c4035e19d5843b86ee1f714096adcecd2
Morgawr [Tue, 22 Apr 2014 23:48:23 +0000 (01:48 +0200)]
added chmod util from NetBSD userland
Change-Id: Ice81a29becedcebfc1ff42ac9826c291b6451189
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
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.
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
Lionel Sambuc [Mon, 28 Apr 2014 08:05:45 +0000 (10:05 +0200)]
Stub for setrlimit
Change-Id: I54c7233d71805711bd72e1e751456aad30fd3e35
Lionel Sambuc [Wed, 26 Mar 2014 17:35:18 +0000 (18:35 +0100)]
Importing sbin/chown
Change-Id: I49950ec241985a8a8f1fc29e01c0212278fbeaa9
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
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
Lionel Sambuc [Tue, 22 Apr 2014 16:50:26 +0000 (18:50 +0200)]
in6.h
Change-Id: Id548a6a144ca77ef3a7bb76f24b8b902efd680b4
Lionel Sambuc [Mon, 14 Apr 2014 09:49:40 +0000 (11:49 +0200)]
Follow the namespace pattern for [cs]profile
Change-Id: I5ad7eb1d7f4b4364e668c2f30dfc628f89b0d579
Lionel Sambuc [Tue, 22 Apr 2014 15:37:52 +0000 (17:37 +0200)]
Hide SO_PASSCRED and SO_PEERCRED by default.
This cause in some software to assume we are linux, as this is rightly
only used there.
By default hide it behind _MINIX_SYSTEM, until we have removed traces
of it from getpeereid/[gs]etsocketopt and replaced it by the NetBSD
mechanism.
Change-Id: Iacd4cc1b152bcb7e90f5b1249185a222c90351d6
Lionel Sambuc [Mon, 14 Apr 2014 10:13:22 +0000 (12:13 +0200)]
Add /bin/false to /etc/shells
/bin/false is often used by PKGSRC packages which create unpriviledged
users as part of their install process.
This fixes the generation and installation of such packages.
Change-Id: Ie2a590c56c86dc40a61e3c08d14f5443ebe4f58c
Kees Jongenburger [Tue, 25 Mar 2014 15:02:31 +0000 (16:02 +0100)]
Adding an initial ddekit test.
Change-Id: I0522449bb7bbbb23efc132ede3a02da95efe0326
Kees Jongenburger [Tue, 25 Mar 2014 15:03:06 +0000 (16:03 +0100)]
test:test51 add a few more tests for calling setcontext.
Change-Id: I272ac01c77537b80bab328aae1acd7b6ce6027fb
Kees Jongenburger [Mon, 24 Mar 2014 15:55:57 +0000 (16:55 +0100)]
ddekit:use ucontext to switch threads
Use getcontext/makecontext and setcontext to create/modify and
switch thread when using ddekit.
Change-Id: I485ad61cb2eb5b8e7b486775f282ff6501912dfd
Kees Jongenburger [Mon, 24 Mar 2014 15:38:24 +0000 (16:38 +0100)]
build:also build the hello driver on arm.
Change-Id: I5dd82d3b56b907bfc137313f503f9d9c52c199ef
Kees Jongenburger [Mon, 24 Mar 2014 15:31:17 +0000 (16:31 +0100)]
build:make libminc a build dependency of services.
Make libminc a build dependency of services to ensure the services
get rebuilt if libminc changes.
Change-Id: I703a9d98d7641a9a85e04d88402a7228ad0be19f
Kees Jongenburger [Wed, 2 Apr 2014 07:28:38 +0000 (09:28 +0200)]
libc:x86 fix for get and setcontext assembly calls.
The get and set context calls where wrongly assuming that the value
of arguments passed on the stack where kept unmodified.
Change-Id: I779b08d7f5a6472c5e9dc351ae44abb2acafb3bd
Kees Jongenburger [Mon, 24 Mar 2014 15:16:21 +0000 (16:16 +0100)]
x86:ensure that getcontext will return 0.
The setcontext method did not alway set the return value to 0 after
restoring the desired context. Specially When calling setcontext with
the _UC_IGNSIGM and the _UC_IGNFPU flags the return value would be non
zero.
Change-Id: Iec7f8d6a680950aa53e3c88c86e03f65005e66b2
Kees Jongenburger [Mon, 24 Mar 2014 16:30:45 +0000 (17:30 +0100)]
build:check if .settings file is a file.
Check if the .settings entry is a file and not a directory. Eclipse
as we found out also likes creating .settings directories.
Change-Id: I3cbcaa7aa9e5dfb3d51c6c71df7fd72079fe213e
Claudio Martella [Mon, 31 Mar 2014 20:02:03 +0000 (22:02 +0200)]
importing tail
Change-Id: Ieda9690195ccd78f081b383cb530702d45537122
Lionel Sambuc [Thu, 27 Mar 2014 14:43:45 +0000 (15:43 +0100)]
Add TAP output to kyua, see kyua help report-tap.
Change-Id: Id64218b820da85b5dba75324c732f4e02b898849
Thomas Cort [Sat, 22 Mar 2014 10:14:14 +0000 (06:14 -0400)]
Importing games/tetris
No Minix specific changes needed.
Change-Id: Ia6a2d9d2192ae0cee29e395aa42271005c6179c2
Lionel Sambuc [Sat, 15 Mar 2014 13:11:22 +0000 (14:11 +0100)]
Workaround missing lchmod/lchown
Change-Id: I231a0010722619d389b763af35ff55f84ca9cb76
Ben Gras [Tue, 18 Mar 2014 10:43:08 +0000 (11:43 +0100)]
patch(1) problems workaround
. NUL input in 2 source files cause patch(1)
to truncate the input (and fail the patches); a sed
command removes the NULs
. in binutils/ld, configdoc.texi is patched to be removed
but some patch(1)es leave an empty file, causing build problems;
this file is explicitly removed.
Change-Id: Iec38d3992b0df4f7bbb9a87b1320005ab3272ff1
Ben Gras [Mon, 17 Mar 2014 14:53:28 +0000 (15:53 +0100)]
mmap: accept non-PROT_WRITE MAP_SHARED mappings
Currently we don't accept writable file mmap()s, as there is no
system in place to guarantee dirty buffers would make it back to
disk. But we can actually accept MAP_SHARED for PROT_READ mappings,
meaning the ranges aren't writable at all (and no private copy is
made as with MAP_PRIVATE), as it turns out a fairly large class of
usage.
. fail writable MAP_SHARED mappings at runtime
. reduces some minix-specific patches
. lets binutils gold build on minix without further patching
Change-Id: If2896c0a555328ac5b324afa706063fc6d86519e
Ryan Sheridan [Mon, 17 Mar 2014 20:06:32 +0000 (13:06 -0700)]
writeisofs build fix (missing NAME_MAX define).
Building writeisofs on OS X led to a failure due to the NAME_MAX define
being missing.