1. 24 Sep, 2015 2 commits
  2. 30 Apr, 2014 1 commit
  3. 12 Jan, 2014 1 commit
  4. 21 Mar, 2012 1 commit
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      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: default avatarKeith Packard <keithp@keithp.com>
      Acked-by: default avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  5. 01 Dec, 2011 1 commit
    • Keith Packard's avatar
      Save major/minor opcodes in ClientRec for RecordAReply · fb22a408
      Keith Packard authored
      The record extension needs the major and minor opcodes in the reply
      hook, but the request buffer may have been freed by the time the hook
      is invoked. Saving the request major and minor codes as the request is
      executed avoids fetching from the defunct request buffer.
      
      This patch also eliminates the public MinorOpcodeOfRequest function,
      inlining it into Dispatch. Usages of that function have been replaced
      with direct access to the new ClientRec field.
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: default avatarJamey Sharp <jamey@minilop.net>
      fb22a408
  6. 23 Dec, 2010 1 commit
  7. 06 Jun, 2010 1 commit
  8. 13 May, 2010 1 commit
  9. 12 May, 2010 1 commit
  10. 22 Feb, 2010 3 commits
  11. 15 Oct, 2009 1 commit
  12. 14 Oct, 2009 3 commits
  13. 02 Sep, 2009 1 commit
  14. 17 Aug, 2009 1 commit
  15. 14 Jul, 2009 1 commit
  16. 26 Jun, 2009 1 commit
  17. 19 Jun, 2009 1 commit
  18. 11 May, 2009 1 commit
  19. 09 Apr, 2009 1 commit
  20. 08 Apr, 2009 1 commit
  21. 27 Mar, 2009 1 commit
  22. 16 Mar, 2009 1 commit
    • Adam Jackson's avatar
      selinux: Add support for avc_acquire_netlink_fd() · 3992dd38
      Adam Jackson authored
      Requires libselinux 2.0.79 or newer.  Without this, libselinux will
      check for policy updates on the netlink socket on basically every policy
      lookup.  Statistically speaking, they never happen, and the check
      translates to at least one more syscall on basically every operation.
      
      Instead, take control of the fd from the library, and check it in
      WakeupHandler if it polls readable.
      3992dd38
  23. 09 Mar, 2009 1 commit
    • Keith Packard's avatar
      Replace dixLookupResource by dixLookupResourceBy{Type,Class} · f8dd80d1
      Keith Packard authored
      dixLookupResource attempted to automatically detect whether the caller
      wanted a lookup by-type or by-class, unfortunately, it guessed wrong for
      RT_NONE. Instead of trying to make the guess better, this patch just reverts
      the unification and creates separate functions for each operation.
      f8dd80d1
  24. 03 Mar, 2009 2 commits
  25. 27 Feb, 2009 1 commit
  26. 18 Dec, 2008 1 commit
  27. 26 Nov, 2008 1 commit
  28. 25 Nov, 2008 1 commit
  29. 30 Oct, 2008 1 commit
  30. 29 Aug, 2008 1 commit
  31. 28 Aug, 2008 1 commit
  32. 17 Jun, 2008 1 commit
  33. 31 Mar, 2008 1 commit
  34. 28 Mar, 2008 1 commit