summaryrefslogtreecommitdiff
path: root/Xext/xselinux.h
AgeCommit message (Collapse)AuthorFilesLines
2012-03-21Introduce a consistent coding styleKeith Packard1-58/+58
This is strictly the application of the script 'x-indent-all.sh' from util/modular. Compared to the patch that Daniel posted in January, I've added a few indent flags: -bap -psl -T PrivatePtr -T pmWait -T _XFUNCPROTOBEGIN -T _XFUNCPROTOEND -T _X_EXPORT The typedefs were needed to make the output of sdksyms.sh match the previous output, otherwise, the code is formatted badly enough that sdksyms.sh generates incorrect output. The generated code was compared with the previous version and found to be essentially identical -- "assert" line numbers and BUILD_TIME were the only differences found. The comparison was done with this script: dir1=$1 dir2=$2 for dir in $dir1 $dir2; do (cd $dir && find . -name '*.o' | while read file; do dir=`dirname $file` base=`basename $file .o` dump=$dir/$base.dump objdump -d $file > $dump done) done find $dir1 -name '*.dump' | while read dump; do otherdump=`echo $dump | sed "s;$dir1;$dir2;"` diff -u $dump $otherdump done Signed-off-by: Keith Packard <keithp@keithp.com> Acked-by: Daniel Stone <daniel@fooishbar.org> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-02-22xselinux: Bump extension minor version.Eamon Walsh1-1/+1
Changes introduced in this version: - 3 window-related requests now handle pixmaps also. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov> Reviewed-by: Keith Packard <keithp@keithp.com>
2010-02-22xselinux: Rename window-related requests that now support pixmaps.Eamon Walsh1-3/+3
Renamed requests: SetWindowCreateContext -> SetDrawableCreateContext GetWindowCreateContext -> GetDrawableCreateContext GetWindowContext -> GetDrawableContext Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov> Reviewed-by: Keith Packard <keithp@keithp.com>
2009-10-14xselinux: refactor extension code into smaller files.Eamon Walsh1-412/+0
New files: xselinux_ext.c: Extension init and request handlers. xselinux_hooks.c: XACE hook functions and other callbacks. xselinux_label.c: Object security-labeling code. xselinuxint.h: Shared internal functions. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2009-09-02Correct outdated e-mail address in "Author" statements.Eamon Walsh1-1/+1
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2009-08-17xselinux: Add more new device permissions for XI2.Eamon Walsh1-2/+2
Reflects the ability of clients to create/destroy device objects. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2009-06-18xselinux: Add new device permissions for XI2.Eamon Walsh1-5/+5
Refects the ability of clients to add/remove devices and device properties. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2009-06-18xselinux: Move the security class mapping to the header file.Eamon Walsh1-0/+392
Take the mapping of DixAccess bits to Flask permissions, move it into the header file, break up the extremely long lines, and annotate the permission names with the bit being referenced. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2008-03-31XSELinux: Add a request to get a client's context from a resource ID.Eamon Walsh1-0/+1
2008-03-04xselinux: Implement polyinstantiation support and related protocol.Eamon Walsh1-64/+38
2008-02-26xselinux: Stub out selection protocol requests.Eamon Walsh1-0/+3
2008-01-24xselinux: Rename SelectionManager to more generic SecurityManager.Eamon Walsh1-5/+5
2007-12-28xselinux: Remove "X" prefix on remaining functions and strings.Eamon Walsh1-5/+5
Should be evident from the context.
2007-12-28xselinux: Remove unnecessary structure definition.Eamon Walsh1-15/+1
2007-12-12xselinux: Add new protocol for setting device create context.Eamon Walsh1-8/+10
2007-11-09xselinux: add new synthetic_event security class, and fix registry code.Eamon Walsh1-1/+2
2007-10-26xselinux: Add a SetDeviceContext request and stubs for more requests.Eamon Walsh1-7/+114
2007-10-23xselinux: Add basic support for selection access control and redirection.Eamon Walsh1-0/+37
Probably not fully baked yet. It's difficult to test since so few apps actually follow the ICCCM with respect to cut & paste.
2007-10-18xselinux: add basic event labeling.Eamon Walsh1-1/+2
2007-10-17xselinux: Started reworking extension using new XACE hooks.Eamon Walsh1-90/+15
2007-06-11xselinux: use new libselinux support for private Flask definitions.Eamon Walsh1-0/+93
Removes indirect dependency on kernel headers.
2006-12-12Add SELinux extension source files.Eamon Walsh1-0/+29