search for: root_gid

Displaying 8 results from an estimated 8 matches for "root_gid".

Did you mean: root_gfn
1999 Aug 06
2
Solaris 7 5/99 and samba-2.0.5a (PR#19508)
...******************************************************************/ + struct shmem_ops *sysv_shm_open(int ronly) { BOOL other_processes; @@ -536,6 +537,8 @@ union semun su; int i; pid_t pid; + struct passwd *root_pwd = sys_getpwuid((uid_t)0); + gid_t root_gid = root_pwd ? root_pwd->pw_gid : (gid_t)0; read_only = ronly; @@ -593,7 +596,7 @@ hash_size = sem_ds.sem_nsems-1; if (!read_only) { - if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != 0) { + if (sem_ds.sem_perm.cuid != 0 || sem_ds.s...
1999 Aug 14
1
HPUX shared memory creates error (PR#19573)
...problem ? Regards, Jeremy Allison, Samba Team. --- shmem_sysv.c Tue Aug 10 16:10:18 1999 +++ shmem_sysv.c.fixed Tue Aug 10 16:08:16 1999 @@ -536,6 +536,8 @@ union semun su; int i; pid_t pid; + struct passwd *root_pwd = sys_getpwuid((uid_t)0); + gid_t root_gid = root_pwd ? root_pwd->pw_gid : (gid_t)0; read_only = ronly; @@ -593,8 +595,8 @@ hash_size = sem_ds.sem_nsems-1; if (!read_only) { - if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != 0) { - DEBUG(0,("ERROR: root did no...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...fs_data.cpio.gz image. # The image is included using .incbin, a dependency which is not # tracked automatically. $(obj)/initramfs_data.o: $(obj)/initramfs_data.cpio.gz FORCE - -ifdef CONFIG_INITRAMFS_ROOT_UID -gen_initramfs_args += -u $(CONFIG_INITRAMFS_ROOT_UID) -endif - -ifdef CONFIG_INITRAMFS_ROOT_GID -gen_initramfs_args += -g $(CONFIG_INITRAMFS_ROOT_GID) -endif - -# The $(shell echo $(CONFIG_INITRAMFS_SOURCE)) is to remove the -# gratuitous begin and end quotes from the Kconfig string type. -# Internal, escaped quotes in the Kconfig string will loose the -# escape and become active quotes. -quo...
1999 Oct 23
3
semaphores and Solaris 7 8/99
I just installed the 8/99 release of Solaris 7 on three Sun Ultra 10's and it seems to have broken Samba. I am running Samba 2.0.5a and it works fine on an Ultra 10 running the 5/99 release of Solaris 7. All of the Ultra 10's are using the 64 bit kernel. This is the errors that I am getting. [1999/10/22 21:09:56, 0] locking/shmem_sysv.c:sysv_shm_open(597) ERROR: root did not create the
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...ITRAMFS_SOURCE)), \ $(CONFIG_INITRAMFS_SOURCE),-d) ramfs-filelist = $(shell $(initramfs) -l $(ramfs-input)) quiet_cmd_initfs = GEN $@ cmd_initfs = \ $(initramfs) -o $@ \ $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \ $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) \ $(ramfs-input) targets := initramfs_data.cpio.gz $(obj)/initramfs_data.cpio.gz: $(ramfs-filelist) $(obj)/gen_init_cpio FORCE $(call if_changed,initfs) # Cleaning time clean-files := initramfs_list initramfs_data.cpio.gz The restructured usr/gen_initramfs...
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
..."cpio" ]; then cpio_file=$1 @@ -210,6 +207,15 @@ input_file() { fi } +# input file/dir - process it +process_file() { + if [ -z ${print_header} ]; then + ${dep_list}header "$1" + fi + print_header=y + input_file "$1" "$2" +} + prog=$0 root_uid=0 root_gid=0 @@ -245,21 +251,17 @@ while [ $# -gt 0 ]; do root_gid="$1" shift ;; - "-d") # display default initramfs list - default_list="$arg" - ${dep_list}default_initramfs - ;; "-h") usage exit 0 ;; *) case "$arg" in...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
..."cpio" ]; then cpio_file=$1 @@ -214,6 +192,15 @@ input_file() { fi } +# input file/dir - process it +process_file() { + if [ -z ${print_header} ]; then + ${dep_list}header "$1" + fi + print_header=y + input_file "$1" "$2" +} + prog=$0 root_uid=0 root_gid=0 @@ -249,27 +236,29 @@ while [ $# -gt 0 ]; do root_gid="$1" shift ;; - "-d") # display default initramfs list - default_list="$arg" - ${dep_list}default_initramfs - ;; "-h") usage exit 0 ;; *) case "$arg" in...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: