1. 12 7月, 2016 22 次提交
  2. 30 6月, 2016 8 次提交
  3. 28 6月, 2016 6 次提交
  4. 16 6月, 2016 1 次提交
  5. 14 6月, 2016 1 次提交
  6. 09 6月, 2016 2 次提交
    • P
      selinux: import NetLabel category bitmaps correctly · 8bebe88c
      Paul Moore 提交于
      The existing ebitmap_netlbl_import() code didn't correctly handle the
      case where the ebitmap_node was not aligned/sized to a power of two,
      this patch fixes this (on x86_64 ebitmap_node contains six bitmaps
      making a range of 0..383).
      Signed-off-by: NPaul Moore <paul@paul-moore.com>
      8bebe88c
    • R
      Smack: ignore null signal in smack_task_kill · 18d872f7
      Rafal Krypa 提交于
      Kill with signal number 0 is commonly used for checking PID existence.
      Smack treated such cases like any other kills, although no signal is
      actually delivered when sig == 0.
      
      Checking permissions when sig == 0 didn't prevent an unprivileged caller
      from learning whether PID exists or not. When it existed, kernel returned
      EPERM, when it didn't - ESRCH. The only effect of policy check in such
      case is noise in audit logs.
      
      This change lets Smack silently ignore kill() invocations with sig == 0.
      Signed-off-by: NRafal Krypa <r.krypa@samsung.com>
      Acked-by: NCasey Schaufler <casey@schaufler-ca.com>
      18d872f7