#
d53856a1 |
|
24-Aug-2021 |
Semion Dimov <congocongocongo@protonmail.com> |
Added missing posixoptions and sysconf constants according POSIX.1-2017 standard Change-Id: I2721ea4f2c3dbe0ef6a11c3a61da6034b4a7fd48 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4371 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
7065a89f |
|
27-Oct-2020 |
Jérôme Duval <jerome.duval@gmail.com> |
POSIX: ioctl(fd, op, arg) equals ioctl(fd, op, arg, 0) The ioctl call cannot know the expected number of arguments because it depends on the specific ioctl being used, and the same value could be used to do different things by different devices. Without knowing that, it is not safe to use va_arg (at best a random value will be read from the stack, at worst, it will just crash). This changes the implementation of ioctl in two ways: - For C++ code: a 4 argument function with default values for arguments 3 and 4. - For C code: wrap arguments 3 and 4 in a struct with the help of a macro, providing something that behaves like the C++ version. So, with this new code: - Calling ioctl with only 3 arguments sets the 4th one to 0 - Calling ioctl with only 2 arguments sets the 3rd and 4th to 0 - Calling with 1 or 5+ arguments is a compile time error The existing ioctl symbol is preserved for ABI compatibility. Change-Id: I6d4d1d38fccd8cc9bd94203d3e11aeac6da8efc3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3360 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
a9c09fca |
|
06-Nov-2020 |
Jérôme Duval <jerome.duval@gmail.com> |
POSIX: lseek: support SEEK_DATA and SEEK_HOLE constants this is queued for issue 8: https://www.austingroupbugs.net/view.php?id=415 this implementation calls the ioctl hook of the filesystem with BSD-like constants FIOSEEKDATA and FIOSEEKHOLE. if the hook doesn't know the constants, we use the stat size to return the last hole (as proposed in the draft spec). Change-Id: I5d052eed87e29b70491a7ff534e244896469d03e Reviewed-on: https://review.haiku-os.org/c/haiku/+/3385 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
d504f219 |
|
20-Oct-2020 |
Jérôme Duval <jerome.duval@gmail.com> |
POSIX: add _SC_TTY_NAME_MAX Change-Id: Ifa24f68535d7a4a4c5fe3f01e63fe2c87adcc429 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3340 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
af0281a8 |
|
07-Sep-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
POSIX: add a few constants for sysconf. Change-Id: I400efdbccc97b287844917e21d8e08e26029f2f8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1839 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
394fba66 |
|
11-Jul-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
unistd.h: POSIX_THREAD_ATTR_STACKADDR was implemented back in March.
|
#
b9c25b0d |
|
09-Jan-2019 |
Leorize <leorize+oss@disroot.org> |
unistd: introduce nice() This commit implements nice() as specified in POSIX.1-2008. Fixes #4932. Change-Id: Ibd8d4636d9e3a8adf0f26a081d5b1180f0cbb839 Reviewed-on: https://review.haiku-os.org/c/863 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
42123119 |
|
13-Jul-2017 |
Joseph C, Hill <calvin@hakobaito.co.uk> |
unistd.h: define _POSIX_BARRIERS This constant was missing in unistd.h and some applications use it to check for pthread barriers support. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> ticket : #13601
|
#
6984b855 |
|
20-Dec-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
Revert "libroot: Undefine constants for unsupported POSIX features" This reverts commit 7aebec8db1a6f231a2a93ec82872afadb8ed3879. As per the discussion on the mailing list.
|
#
7aebec8d |
|
21-Dec-2015 |
Simon South <simon@simonsouth.com> |
libroot: Undefine constants for unsupported POSIX features Haiku does not yet support certain features related to POSIX threads. Constants used to test for the presence of these features should therefore be left undefined, according to the POSIX spec, but are currently set to -1. This can cause software built on Haiku to incorrectly detect the presence of these features. * unistd.h: Undefine _POSIX_THREAD_ATTR_STACKADDR, _POSIX_THREAD_PRIORITY_SCHEDULING feature constants. * conf.cpp: __sysconf: Return -1 for unsupported features. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
dbf060a3 |
|
29-Oct-2015 |
Simon South <ssouth@simonsouth.com> |
libroot: Add brk() and sbrk(). This commit replaces the placeholder implementation of sbrk(), which operated on a process' heap, with real implementations of brk() and sbrk() that adjust a process' program break. * unistd.h: Add standard definitions of brk() and sbrk(); include stdint.h for intptr_t. * thread.cpp: Recognize RLIMIT_AS and RLIMIT_DATA resource limits (both currently unlimited); order limit identifiers alphabetically. * arch-specific.cpp: Remove sbrk_hook(). * malloc_debug_api.cpp: Remove sbrk_hook(). * unistd/Jamfile: Build brk.c instead of sbrk.c. * unistd/brk.c: Add. * unistd/sbrk.c: Delete (placeholder implementation). * libroot_stubs.c: Remove sbrk_hook(). * libroot_stubs_legacy.c: Remove sbrk_hook(). * src/tests/.../posix/Jamfile: Build brk_test.c. * brk_test.c: Add (simple unit test that demonstrates behaviour of sbrk()). Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
34671d60 |
|
23-Jul-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Added execvpe(). * This closes #12114 again; while not POSIX, it's just a line away. * Removed exect() from the header -- not sure where this came from. but I can't find anything about it on the net. * Consolidated use of asterisk style in exec.cpp.
|
#
4dc5ce8f |
|
03-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
mknod[at](): moves from unistd.h to sys/stat.h * this solves #10883.
|
#
79c9b824 |
|
22-Dec-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: sync() should not return any value
|
#
fd96cf08 |
|
06-Dec-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: Remove _SC_NPROCESSORS_MAX and _SC_CPUID_MAX _SC_NPROCESSORS_MAX and _SC_CPUID_MAX appear to be supported only by Solaris. There isn't much point in exposing such values to the userland anyway.
|
#
e634025c |
|
27-Oct-2012 |
Jerome Duval <jerome.duval@gmail.com> |
unistd.h: added noreturn attribute on _exit()
|
#
24df6592 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0fae8733 |
|
03-Nov-2010 |
Scott McCreary <scottmc2@gmail.com> |
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines. Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
078dbb2d |
|
07-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Defined more sysconf() and _POSIX_* constants required by POSIX. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36074 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
486fffda |
|
26-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Forgot to add linkat(), this really closes #4928 now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34289 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb2500da |
|
26-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added missing AT_EACCESS. * Implemented renameat(), faccessat(), fchownat(), fchmodat(), and mkfifoat(). * Added stub for mknodat(). * The kernel backend for faccessat() does not yet differentiate between effective and real user/group IDs, though. * Removed B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT, as we now support everything (more or less). This also closes ticket #4928. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6c00aabc |
|
12-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented POSIX.1-2008 functions unlinkat(), symlinkat(), mkdirat(), utimensat(), and futimens(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34010 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
db2b554f |
|
10-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Moved the POSIX *at() functions and AT_* macros out of the default namespace as long as the full set hasn't been implemented. They are guarded by the B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT macro until then. Fixes the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33990 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b189a201 |
|
10-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added readlinkat(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33978 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31a41b60 |
|
29-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fixing #3460: * resolved a couple of redundant function declaration in our public headers * adjusted zipomatic accordingly - everything else built fine git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31938 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9af9826f |
|
05-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed value of _POSIX_VDISABLE. cc_t is unsigned in Haiku. ATM we don't support _POSIX_VDISABLE at all. It's even questionable whether the value (unsigned char)-2 is a good choice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29137 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
93dd5d65 |
|
25-Jun-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Fix typo. Thanks mjw! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26132 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
74be35c7 |
|
22-May-2008 |
François Revol <revol@free.fr> |
Some more funny sysconf()... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25627 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3a17a548 |
|
22-May-2008 |
François Revol <revol@free.fr> |
- factored out [f]pathconf(). - *pathconf() now uses statvfs and fs_info data when appropriate. It should also check for file type though, some only apply to directory or others. - added confstr(_CS_PATH) with a sensible default. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25625 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ca974ded |
|
22-May-2008 |
François Revol <revol@free.fr> |
Some more [f]pathconf() names, not yet handled. filesizebits returns 64 though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25623 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3021393e |
|
20-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Let's pretend we support POSIX threads. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25588 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b9320128 |
|
10-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Andreas Faerber: Replaced single-line comments by multi-line comments for ANSI C compliance. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
01b10987 |
|
07-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed some misunderstanding regarding the _POSIX_* macros. They are not supposed to be passed to pathconf() or sysconf(). * Added POSIX semaphore related macros. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25361 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
038ed3d1 |
|
06-Apr-2008 |
François Revol <revol@free.fr> |
Add _SC_PAGE_SIZE sysconf(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24850 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
42014658 |
|
03-Apr-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Applied patch by James Woodcock: * Implemented POSIX getpagesize() function in libroot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24763 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f8cb3071 |
|
02-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Replaced the dummy implementations of the <grp.h> and <pwd.h> functions by ones reading /etc/{group,passwd}. * Added quasi-standard getpwent_r() and getgrent_r(). * Added _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX sysconf() constants. * Moved initgroups() and getgrouplist() definition to grp.cpp. They use the same backend as the <grp.h> functions. * Set the permissions of files created by the build system to what they should be on the image (executables: 755, others: 644). Otherwise only root could do anything under Haiku. * Added build system variables HAIKU_ROOT_USER_NAME and HAIKU_ROOT_USER_REAL_NAME to customize name and real name of Haiku's root user. * Added build system rules AddUserToHaikuImage and AddGroupToHaikuImage for adding additional users and groups (by default only root user and group and a "users" group are created). * Adjusted BIND port and coreutils config.h files according to what features have become available. * Fixed HAIKU_DOCUMENTATION_OBJECT_DIR definition. Untested, but it used a wrong variable name before. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24750 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
360be1fc |
|
29-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented support for chroot: - Added a "root" vnode to the io_context. It is used for resolving paths and converting nodes to paths instead of sRoot. Some more passing around of io_context structures was necessary. - Introduced a new lock sIOContextRootLock to protect io_context::root. The current uses of io_context::io_mutex (put_vnode(), remove_vnode() while holding it) looked too suspicious to use that mutex in vnode_path_to_vnode(). - Added _kern_change_root() syscall and chroot() libroot function. - Added chroot coreutils program to the image. Funnily it seems to be much easier to set up a little jail than under Linux (just copy bash and libroot.so into respective subdirs; mount another pipefs if you want pipe support). With Haiku allowing direct access to directories via inode IDs jailing is obviously not very secure at the moment. - Added /var/empty to the image. It will be the chroot target for ssh. * Changed vfs.cpp:get_cwd() so that the io_context::io_mutex is no longer held when calling dir_vnode_to_path(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24673 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
290946ce |
|
29-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented some basics for supplementary groups support: - The kernel stores the group IDs in the team structure. They are correctly inherited on fork() and load_image_etc(). - Implemented getgroups() for real, i.e. it retrieves the groups associated with the process. - Implemented setgroups(), initgroups() and (the BSDish) getgrouplist(). The latter two read the group information from the "group database" /etc/group (if existing). - Change the BIND port config, since we do have getgrouplist() now. * The set-uid feature was broken when the path to the executable was relative, since we used stat(), which, in the kernel, uses the kernel IO context. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24669 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4eb35609 |
|
11-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added real, effective and saved set- user and group IDs to the team structure. They are properly inherited and updated on fork(), load_image(), and exec(). * Implemented the get[e]{u,g}id(), set[[r]e]{u,g}id() family for real. * getgroups() also calls the kernel now, but only returns the effective group ID. Supplementary groups support is still missing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cb93a654 |
|
20-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Vasilis Kaoutsis: Added and implemented lockf() using fcntl() locking. Small change and notes on standard compliance by myself. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22628 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84324de5 |
|
03-Aug-2007 |
Jérôme Duval <korli@users.berlios.de> |
added an empty implementation of confstr() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21810 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1beeb960 |
|
29-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
setpgrp() returns a pid_t, not an int. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20008 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a7854360 |
|
13-Dec-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Added vfork() as a wrapper to fork(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19491 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a34963f3 |
|
16-Mar-2006 |
Jérôme Duval <korli@users.berlios.de> |
added posix_gnu_string added more posix definitions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6065411b |
|
13-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
ualarm()'s arguments are actually useconds_t, too. Fixed implementation of ualarm() to support larger values. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14890 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b22f48cc |
|
13-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed alarm(), ualarm(), and sleep() return codes - "uint" is not a POSIX type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14888 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d05775b3 |
|
04-Nov-2005 |
Jérôme Duval <korli@users.berlios.de> |
added seteuid and setegid git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14701 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e5fd0bde |
|
26-Mar-2005 |
Axel Dörfler <axeld@pinc-software.de> |
tcsetpgrp() and tcgetpgrp() are actually defined in unistd.h, not termios.h. Implemented them and moved them to unistd/terminal.c - not yet tested, though, but should work. As a side effect, the TTY should now send signals. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12034 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c4b73bfc |
|
04-Mar-2005 |
Jérôme Duval <korli@users.berlios.de> |
added setpgrp git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11573 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ce78b286 |
|
10-Nov-2004 |
Oliver Tappe <zooey@hirschkaefer.de> |
- removed ctermid() and cuserid(), which live in stdio.h - removed system(), which lives in stdlib.h git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9905 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1fd17e4f |
|
08-Nov-2004 |
Axel Dörfler <axeld@pinc-software.de> |
We don't support the BeOS mount API. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9869 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9348d6b4 |
|
14-Oct-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added missing process prototypes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9344 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4c3d76fd |
|
23-Sep-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Minor cleanups. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9054 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
336ffbcd |
|
01-Sep-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Unlike alarm(), ualarm() has actually two arguments. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8785 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2b9d5ff6 |
|
23-Oct-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Some changes for an independent header system - added missing function prototypes (and those commented out), to keep the whole project be compilable and usable on BeOS. Fixed a bug in fcntl.h (definition for O_DIRECT), added new O_MOUNT. Added prototypes and "struct tm" to time.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1619 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cc53922b |
|
06-Oct-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added headers for fnmatch, glob, and pwd stuff. Uncomment some functions in unistd.h which glob is using. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb11b673 |
|
20-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added a preliminary sys/types.h that just includes ktypes.h for now. Changed other headers to include sys/types.h rather than ktypes.h. Added a license reference at the beginning of those files. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4c405cbd |
|
13-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
The fs interface functions should now return a "status_t" rather than an "int". Added syscalls for, and implemented sys_create_link(), sys_remove_dir(). Implemented link(), unlink(), rmdir(). Fixed the inconsistent path buffer handling in the user|sys vfs functions; the path buffer is now exactly SYS_MAX_PATH_LEN from userland (incl. terminating null byte). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
854fc92a |
|
13-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Implemented some more calls in unistd.h. Replaced the unused syscall for getdtablesize() with one for access(). Implemented sys_access() and added it to the file system interface. Removed the fs function interface from vfs.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@738 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e867ec51 |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added mount.c, implementation of mount() and unmount(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@670 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
beddff0f |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Replaced opendir.c with directory.c, implemented chdir(), fchdir(), and getcwd(). Introduced new xyz(int fd, char *path, ...) style of functions for sys_setcwd(), and sys_write_stat(). Added missing sys_fstat(). Removed duplicated prototypes in syscalls.h Fixed some minor bugs. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@669 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
14e18e55 |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
getdtablesize() no longer needs a syscall. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@667 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75cf4c1e |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
New BeOS-like unistd.h file. All unimplemented functions are commented out for now - but that has to change, of course. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@665 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
34671d601a9a471323f61c2ee40bd779dad5f139 |
|
23-Jul-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Added execvpe(). * This closes #12114 again; while not POSIX, it's just a line away. * Removed exect() from the header -- not sure where this came from. but I can't find anything about it on the net. * Consolidated use of asterisk style in exec.cpp.
|
#
4dc5ce8fd810e87219cb8cc18743c5dba2f9e98b |
|
03-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
mknod[at](): moves from unistd.h to sys/stat.h * this solves #10883.
|
#
79c9b824e49b47871ce101e8f32e2f3a13a981e7 |
|
22-Dec-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: sync() should not return any value
|
#
fd96cf08a732197b46f6e71e44c3b4c28d3a28a9 |
|
06-Dec-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: Remove _SC_NPROCESSORS_MAX and _SC_CPUID_MAX _SC_NPROCESSORS_MAX and _SC_CPUID_MAX appear to be supported only by Solaris. There isn't much point in exposing such values to the userland anyway.
|
#
e634025c06f97744c04a19bd4c1205464d8ef5ac |
|
27-Oct-2012 |
Jerome Duval <jerome.duval@gmail.com> |
unistd.h: added noreturn attribute on _exit()
|
#
24df65921befcd0ad0c5c7866118f922da61cb96 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0fae873352b02792db93f721c1a2ff6b240c8ecc |
|
03-Nov-2010 |
Scott McCreary <scottmc2@gmail.com> |
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines. Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
078dbb2d0e8bb1f3597f4756425f6de2596a4d5b |
|
07-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Defined more sysconf() and _POSIX_* constants required by POSIX. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36074 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
486fffdaaf7f16e65bea9f4fde7d5d3c3726ece8 |
|
26-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Forgot to add linkat(), this really closes #4928 now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34289 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb2500da15e8c574cbb343b8fc536d7094357f54 |
|
26-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added missing AT_EACCESS. * Implemented renameat(), faccessat(), fchownat(), fchmodat(), and mkfifoat(). * Added stub for mknodat(). * The kernel backend for faccessat() does not yet differentiate between effective and real user/group IDs, though. * Removed B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT, as we now support everything (more or less). This also closes ticket #4928. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6c00aabc9e209639ff2753ba8cc2acf3f1b5ec95 |
|
12-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented POSIX.1-2008 functions unlinkat(), symlinkat(), mkdirat(), utimensat(), and futimens(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34010 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
db2b554fa368b03940b495c2f439d4f6e738d282 |
|
10-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Moved the POSIX *at() functions and AT_* macros out of the default namespace as long as the full set hasn't been implemented. They are guarded by the B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT macro until then. Fixes the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33990 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b189a2014e18f45b3bbb3c3d29118d7e5f167084 |
|
10-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added readlinkat(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33978 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31a41b605df6d6edf691fe3c620ee79366b94044 |
|
29-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fixing #3460: * resolved a couple of redundant function declaration in our public headers * adjusted zipomatic accordingly - everything else built fine git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31938 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9af9826fca302179da504298941a3c367dabac95 |
|
05-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed value of _POSIX_VDISABLE. cc_t is unsigned in Haiku. ATM we don't support _POSIX_VDISABLE at all. It's even questionable whether the value (unsigned char)-2 is a good choice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29137 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
93dd5d656970d605bc91fad4eab2cbf7d11ad93b |
|
25-Jun-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Fix typo. Thanks mjw! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26132 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
74be35c78bdd95f78319ee1347b5ae3089a74d95 |
|
22-May-2008 |
François Revol <revol@free.fr> |
Some more funny sysconf()... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25627 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3a17a548dac8573a1c4b06bad464a8d8b39811c3 |
|
22-May-2008 |
François Revol <revol@free.fr> |
- factored out [f]pathconf(). - *pathconf() now uses statvfs and fs_info data when appropriate. It should also check for file type though, some only apply to directory or others. - added confstr(_CS_PATH) with a sensible default. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25625 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ca974ded951365e3bd44ca9e8104abb35b961b73 |
|
22-May-2008 |
François Revol <revol@free.fr> |
Some more [f]pathconf() names, not yet handled. filesizebits returns 64 though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25623 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3021393e3698ecfb9e383c4bb2e4daab6b378678 |
|
20-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Let's pretend we support POSIX threads. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25588 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b93201281504cee31f4186f7c6548815940c576e |
|
10-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Andreas Faerber: Replaced single-line comments by multi-line comments for ANSI C compliance. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
01b1098795892be13a9bff6f7a90acb7fe7ed6ec |
|
07-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed some misunderstanding regarding the _POSIX_* macros. They are not supposed to be passed to pathconf() or sysconf(). * Added POSIX semaphore related macros. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25361 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
038ed3d1f2ddb90e97488fb594a3195f720779a0 |
|
06-Apr-2008 |
François Revol <revol@free.fr> |
Add _SC_PAGE_SIZE sysconf(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24850 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
42014658adeccfd3d1fb00a146bdb8f1a15bee30 |
|
03-Apr-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Applied patch by James Woodcock: * Implemented POSIX getpagesize() function in libroot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24763 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f8cb30712e09e13b6eeb08f225810875aea1e6f8 |
|
02-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Replaced the dummy implementations of the <grp.h> and <pwd.h> functions by ones reading /etc/{group,passwd}. * Added quasi-standard getpwent_r() and getgrent_r(). * Added _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX sysconf() constants. * Moved initgroups() and getgrouplist() definition to grp.cpp. They use the same backend as the <grp.h> functions. * Set the permissions of files created by the build system to what they should be on the image (executables: 755, others: 644). Otherwise only root could do anything under Haiku. * Added build system variables HAIKU_ROOT_USER_NAME and HAIKU_ROOT_USER_REAL_NAME to customize name and real name of Haiku's root user. * Added build system rules AddUserToHaikuImage and AddGroupToHaikuImage for adding additional users and groups (by default only root user and group and a "users" group are created). * Adjusted BIND port and coreutils config.h files according to what features have become available. * Fixed HAIKU_DOCUMENTATION_OBJECT_DIR definition. Untested, but it used a wrong variable name before. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24750 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
360be1fc45416df27312c38d2268b466621bbae7 |
|
29-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented support for chroot: - Added a "root" vnode to the io_context. It is used for resolving paths and converting nodes to paths instead of sRoot. Some more passing around of io_context structures was necessary. - Introduced a new lock sIOContextRootLock to protect io_context::root. The current uses of io_context::io_mutex (put_vnode(), remove_vnode() while holding it) looked too suspicious to use that mutex in vnode_path_to_vnode(). - Added _kern_change_root() syscall and chroot() libroot function. - Added chroot coreutils program to the image. Funnily it seems to be much easier to set up a little jail than under Linux (just copy bash and libroot.so into respective subdirs; mount another pipefs if you want pipe support). With Haiku allowing direct access to directories via inode IDs jailing is obviously not very secure at the moment. - Added /var/empty to the image. It will be the chroot target for ssh. * Changed vfs.cpp:get_cwd() so that the io_context::io_mutex is no longer held when calling dir_vnode_to_path(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24673 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
290946ce80e8bf8e7a8e8a8593ea88f3465f5a3f |
|
29-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented some basics for supplementary groups support: - The kernel stores the group IDs in the team structure. They are correctly inherited on fork() and load_image_etc(). - Implemented getgroups() for real, i.e. it retrieves the groups associated with the process. - Implemented setgroups(), initgroups() and (the BSDish) getgrouplist(). The latter two read the group information from the "group database" /etc/group (if existing). - Change the BIND port config, since we do have getgrouplist() now. * The set-uid feature was broken when the path to the executable was relative, since we used stat(), which, in the kernel, uses the kernel IO context. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24669 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4eb3560949b15e7492c8055eb512e5dd68b2da32 |
|
11-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added real, effective and saved set- user and group IDs to the team structure. They are properly inherited and updated on fork(), load_image(), and exec(). * Implemented the get[e]{u,g}id(), set[[r]e]{u,g}id() family for real. * getgroups() also calls the kernel now, but only returns the effective group ID. Supplementary groups support is still missing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cb93a65449a8fe1b02b6fc4a44e2e109ee4652a8 |
|
20-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Vasilis Kaoutsis: Added and implemented lockf() using fcntl() locking. Small change and notes on standard compliance by myself. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22628 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84324de5077c8f2dfad95f493826efb93e429aed |
|
03-Aug-2007 |
Jérôme Duval <korli@users.berlios.de> |
added an empty implementation of confstr() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21810 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1beeb96080b1182f6758e1d997859a9434028384 |
|
29-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
setpgrp() returns a pid_t, not an int. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20008 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a7854360ac825a28fbfea0a97bff187887bb62d5 |
|
13-Dec-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Added vfork() as a wrapper to fork(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19491 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a34963f388a39217b340f32aae95bfd807056a40 |
|
16-Mar-2006 |
Jérôme Duval <korli@users.berlios.de> |
added posix_gnu_string added more posix definitions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6065411b88b27adf7908a7615c96d691f2879399 |
|
13-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
ualarm()'s arguments are actually useconds_t, too. Fixed implementation of ualarm() to support larger values. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14890 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b22f48cc072c81153cc8125f698caecd842bae50 |
|
13-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed alarm(), ualarm(), and sleep() return codes - "uint" is not a POSIX type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14888 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d05775b3bdd614fcafd7571f8451f8bf9f668716 |
|
04-Nov-2005 |
Jérôme Duval <korli@users.berlios.de> |
added seteuid and setegid git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14701 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e5fd0bde4a58ac4048b5120a5923201600ff5134 |
|
26-Mar-2005 |
Axel Dörfler <axeld@pinc-software.de> |
tcsetpgrp() and tcgetpgrp() are actually defined in unistd.h, not termios.h. Implemented them and moved them to unistd/terminal.c - not yet tested, though, but should work. As a side effect, the TTY should now send signals. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12034 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c4b73bfcd57dbefe13c5e270fa46dc2ec73a8c60 |
|
04-Mar-2005 |
Jérôme Duval <korli@users.berlios.de> |
added setpgrp git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11573 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ce78b28632864fe1f37f1ba8d56f0b4684b71c1c |
|
10-Nov-2004 |
Oliver Tappe <zooey@hirschkaefer.de> |
- removed ctermid() and cuserid(), which live in stdio.h - removed system(), which lives in stdlib.h git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9905 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1fd17e4f245e823fa325890fdefab3a81e824ccb |
|
08-Nov-2004 |
Axel Dörfler <axeld@pinc-software.de> |
We don't support the BeOS mount API. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9869 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9348d6b4e705f2a3ba8254075560f4a569a7cb3b |
|
14-Oct-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added missing process prototypes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9344 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4c3d76fd9ba06660b9919f186256cc4dada1f6b9 |
|
23-Sep-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Minor cleanups. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9054 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
336ffbcd0459870d42840cca4a6d0fd318ed497c |
|
01-Sep-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Unlike alarm(), ualarm() has actually two arguments. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8785 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2b9d5ff6c2377b59fff0982caf72e9b4c2355a90 |
|
23-Oct-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Some changes for an independent header system - added missing function prototypes (and those commented out), to keep the whole project be compilable and usable on BeOS. Fixed a bug in fcntl.h (definition for O_DIRECT), added new O_MOUNT. Added prototypes and "struct tm" to time.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1619 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cc53922b41a9c7ac2391b5d301c386e77553fb20 |
|
06-Oct-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added headers for fnmatch, glob, and pwd stuff. Uncomment some functions in unistd.h which glob is using. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb11b67370ab6acec53f88af085b91c4e2f64f6e |
|
20-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added a preliminary sys/types.h that just includes ktypes.h for now. Changed other headers to include sys/types.h rather than ktypes.h. Added a license reference at the beginning of those files. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4c405cbdd43a20546d1d0a71b75f7ede417fe5fc |
|
13-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
The fs interface functions should now return a "status_t" rather than an "int". Added syscalls for, and implemented sys_create_link(), sys_remove_dir(). Implemented link(), unlink(), rmdir(). Fixed the inconsistent path buffer handling in the user|sys vfs functions; the path buffer is now exactly SYS_MAX_PATH_LEN from userland (incl. terminating null byte). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
854fc92a7ccbf27a2b9bcf80e7a2ca9a0a355243 |
|
13-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Implemented some more calls in unistd.h. Replaced the unused syscall for getdtablesize() with one for access(). Implemented sys_access() and added it to the file system interface. Removed the fs function interface from vfs.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@738 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e867ec51af680963bbe99c3b3370e8d53ffc74d2 |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added mount.c, implementation of mount() and unmount(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@670 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
beddff0f569d79109e45afd1cde91c4b254234de |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Replaced opendir.c with directory.c, implemented chdir(), fchdir(), and getcwd(). Introduced new xyz(int fd, char *path, ...) style of functions for sys_setcwd(), and sys_write_stat(). Added missing sys_fstat(). Removed duplicated prototypes in syscalls.h Fixed some minor bugs. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@669 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
14e18e556ee62042c87e10f9612b4c3229f3b6d4 |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
getdtablesize() no longer needs a syscall. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@667 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75cf4c1ea5510aa8f2b08fc6d128096c68221085 |
|
09-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
New BeOS-like unistd.h file. All unimplemented functions are commented out for now - but that has to change, of course. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@665 a95241bf-73f2-0310-859d-f6bbb57e9c96
|