1. 20 6月, 2006 1 次提交
    • G
      [PATCH] Audit of POSIX Message Queue Syscalls v.2 · 20ca73bc
      George C. Wilson 提交于
      This patch adds audit support to POSIX message queues.  It applies cleanly to
      the lspp.b15 branch of Al Viro's git tree.  There are new auxiliary data
      structures, and collection and emission routines in kernel/auditsc.c.  New hooks
      in ipc/mqueue.c collect arguments from the syscalls.
      
      I tested the patch by building the examples from the POSIX MQ library tarball.
      Build them -lrt, not against the old MQ library in the tarball.  Here's the URL:
      http://www.geocities.com/wronski12/posix_ipc/libmqueue-4.41.tar.gz
      Do auditctl -a exit,always -S for mq_open, mq_timedsend, mq_timedreceive,
      mq_notify, mq_getsetattr.  mq_unlink has no new hooks.  Please see the
      corresponding userspace patch to get correct output from auditd for the new
      record types.
      
      [fixes folded]
      Signed-off-by: NGeorge Wilson <ltcgcw@us.ibm.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      20ca73bc
  2. 29 3月, 2006 1 次提交
  3. 27 3月, 2006 2 次提交
  4. 22 3月, 2006 1 次提交
  5. 10 2月, 2006 1 次提交
    • A
      [NETLINK]: Fix a severe bug · a70ea994
      Alexey Kuznetsov 提交于
      netlink overrun was broken while improvement of netlink.
      Destination socket is used in the place where it was meant to be source socket,
      so that now overrun is never sent to user netlink sockets, when it should be,
      and it even can be set on kernel socket, which results in complete deadlock
      of rtnetlink.
      
      Suggested fix is to restore status quo passing source socket as additional
      argument to netlink_attachskb().
      
      A little explanation: overrun is set on a socket, when it failed
      to receive some message and sender of this messages does not or even
      have no way to handle this error. This happens in two cases:
      1. when kernel sends something. Kernel never retransmits and cannot
         wait for buffer space.
      2. when user sends a broadcast and the message was not delivered
         to some recipients.
      Signed-off-by: NAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a70ea994
  6. 15 1月, 2006 1 次提交
    • A
      [PATCH] Fix double decrement of mqueue_mnt->mnt_count in sys_mq_open · 7c7dce92
      Alexander Viro 提交于
      Fixed the refcounting on failure exits in sys_mq_open() and
      cleaned the logics up.  Rules are actually pretty simple - dentry_open()
      expects vfsmount and dentry to be pinned down and it either transfers
      them into created struct file or drops them.  Old code had been very
      confused in that area - if dentry_open() had failed either in do_open()
      or do_create(), we ended up dentry and mqueue_mnt dropped twice, once
      by dentry_open() cleanup and then by sys_mq_open().
      
      Fix consists of making the rules for do_create() and do_open()
      same as for dentry_open() and updating the sys_mq_open() accordingly;
      that actually leads to more straightforward code and less work on
      normal path.
      Signed-off-by: NAl Viro <aviro@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7c7dce92
  7. 12 1月, 2006 1 次提交
  8. 10 1月, 2006 1 次提交
  9. 07 11月, 2005 1 次提交
  10. 28 9月, 2005 1 次提交
  11. 11 9月, 2005 1 次提交
  12. 01 5月, 2005 2 次提交
  13. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4