#
79879070 |
|
26-Jun-2015 |
Axel Dörfler <axeld@pinc-software.de> |
launch_daemon: We can now talk to the authentication manager. * When creating the port of the registrar's authentication manager, we now set it manually, so that the user/group functions work. * This allows LaunchDaemon::_StartSession() to set up the user, and groups as needed.
|
#
bea38cb7 |
|
11-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
registrar: implemented auth port via launch_daemon. * get_roster_port_name() is no longer needed. * This also removes the app_server restart code from the debug server -- this will be done by the launch_daemon in the future.
|
#
ae901935 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Introduce __set_errno() throughout libroot. * add errno_private.h, which defines the __set_errno() macro with and without tracing * instead of setting errno manually, all libroot's code now invokes __set_errno(), which makes it much easier to trace changes to errno * redirect glibc's use of __set_errno() to our own version
|
#
c65e6981 |
|
02-May-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
rest of the patch by Kaliber in ticket #5875. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36578 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7127458 |
|
15-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Private libroot locking primitives: - Reimplemented mutex to use the _kern_mutex*() syscalls. - The initializer functions cannot fail anymore -- changed their return type to void. - Changed the initializer function semantics to not copy the name by default anymore (as in the kernel). Also added *_etc() versions of them that take an additional flags. - Added static initializer macros. - Made the mutex (and thus recursive_lock) lock functions non-interruptable. - Got rid of the "lazy" version. They are no longer needed, since the initialization of the standard types can be done statically and cannot fail. * Adjusted libroot, runtime loader, and other code using the private libroot locking primitives to the new semantics. * pthreads mutexes and condition variables: - Reimplemented using the _kern_mutex*() syscalls. - Consistently use POSIX error codes. - Fixed some not quite POSIX compliant behavior. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6e069229 |
|
29-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace semaphores/benaphores in the env, fork, and user/group code by lazy mutexes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34340 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89d327d6 |
|
18-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added missing spwd::sp_lstchg field. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25560 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a94ce1c9 |
|
17-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Reorganized the passwd and group support: A dedicated thread in the registrar provides access to the DBs via a port message based protocol. The functions in libroot just ask the registrar now. * Added Linuxish shadow passwd support. No putspent() though -- we'll provide private functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25002 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e1a5b297 |
|
02-Apr-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* gcc4 build fix git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24756 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
|
#
798790700871873f6d9da860567ff951005d7fbe |
|
26-Jun-2015 |
Axel Dörfler <axeld@pinc-software.de> |
launch_daemon: We can now talk to the authentication manager. * When creating the port of the registrar's authentication manager, we now set it manually, so that the user/group functions work. * This allows LaunchDaemon::_StartSession() to set up the user, and groups as needed.
|
#
bea38cb711f29e929d62ceed9a0684e43c548a0d |
|
11-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
registrar: implemented auth port via launch_daemon. * get_roster_port_name() is no longer needed. * This also removes the app_server restart code from the debug server -- this will be done by the launch_daemon in the future.
|
#
ae9019359606f1db67632ef51a77ce70001d3770 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Introduce __set_errno() throughout libroot. * add errno_private.h, which defines the __set_errno() macro with and without tracing * instead of setting errno manually, all libroot's code now invokes __set_errno(), which makes it much easier to trace changes to errno * redirect glibc's use of __set_errno() to our own version
|
#
c65e6981d26d978f82168362bb647208867e1e39 |
|
02-May-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
rest of the patch by Kaliber in ticket #5875. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36578 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f71274580bc2625bf438140839fe38193ece28e6 |
|
15-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Private libroot locking primitives: - Reimplemented mutex to use the _kern_mutex*() syscalls. - The initializer functions cannot fail anymore -- changed their return type to void. - Changed the initializer function semantics to not copy the name by default anymore (as in the kernel). Also added *_etc() versions of them that take an additional flags. - Added static initializer macros. - Made the mutex (and thus recursive_lock) lock functions non-interruptable. - Got rid of the "lazy" version. They are no longer needed, since the initialization of the standard types can be done statically and cannot fail. * Adjusted libroot, runtime loader, and other code using the private libroot locking primitives to the new semantics. * pthreads mutexes and condition variables: - Reimplemented using the _kern_mutex*() syscalls. - Consistently use POSIX error codes. - Fixed some not quite POSIX compliant behavior. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6e069229083006f6e340aebe3a9b548d99b50180 |
|
29-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace semaphores/benaphores in the env, fork, and user/group code by lazy mutexes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34340 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89d327d66e23408f92fd9bc5cce5d6bdb7d2b5d8 |
|
18-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added missing spwd::sp_lstchg field. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25560 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a94ce1c912808a0129c989f8d5c2e2aff4fec871 |
|
17-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Reorganized the passwd and group support: A dedicated thread in the registrar provides access to the DBs via a port message based protocol. The functions in libroot just ask the registrar now. * Added Linuxish shadow passwd support. No putspent() though -- we'll provide private functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25002 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e1a5b2976092e6100fbbb8d8c11ea96aebac4d26 |
|
02-Apr-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* gcc4 build fix git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24756 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
|