Patch for transarc initgroups behavior and xfs_set_pag(part_one,part_two) call

Neulinger, Nathan R. nneul at umr.edu
Tue Feb 2 23:37:51 CET 1999


The attached patch provides support for Transarc style setgroups() behavior.

Basically, the PAG is preserved across a setgroups() system call. This patch
is linux specific, but should be VERY easy to apply to the other
architecture's xfs sources.

Granted, some people don't depend or need this behavior, but some do, and
this takes the client one step closer to being compatible with Transarc's.

Description of changes:
	Split xfs_setpag_call into xfs_setpag_call and xfs_set_pag
		xfs_set_pag sets the current pag without affecting
pag_part_*
		xfs_setpag_call calls xfs_set_pag and does the pag_part_*
changes

	Changed sys_call_routine to afs_sys_call_routine
	Changed sys_call_table to be a void *array (more appropriate)
	
	Added setgroups_sys_call_routine typedef
	Added pag_setgroups routine
	
	Updated install_afs_syscall and remove_afs_syscall routines to also
	do setgroups.

All setgroups code is #if defined(WITH_PAG_SETGROUPS), the other code
changes should not have any effect.

I hope to see this in the next release! :)

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul at umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00002.bin
Type: application/octet-stream
Size: 2880 bytes
Desc: "pag-setgroups-diff"
Url : http://lists.stacken.kth.se/pipermail/arla-drinkers/attachments/00000000/e3a608af/bin00002.bin


More information about the Arla-drinkers mailing list