)]}'
{
  "commit": "ac03221a4fdda9bfdabf99bcd129847f20fc1d80",
  "tree": "9b65ede238b03007bfe5e25f46efca68ec0994e0",
  "parents": [
    "5d136a010de3bc16fe595987feb9ef8868f064c2"
  ],
  "author": {
    "name": "Linda Knippers",
    "email": "linda.knippers@hp.com",
    "time": "Tue May 16 22:03:48 2006 -0400"
  },
  "committer": {
    "name": "Al Viro",
    "email": "viro@zeniv.linux.org.uk",
    "time": "Tue Jun 20 05:25:24 2006 -0400"
  },
  "message": "[PATCH] update of IPC audit record cleanup\n\nThe following patch addresses most of the issues with the IPC_SET_PERM\nrecords as described in:\nhttps://www.redhat.com/archives/linux-audit/2006-May/msg00010.html\nand addresses the comments I received on the record field names.\n\nTo summarize, I made the following changes:\n\n1. Changed sys_msgctl() and semctl_down() so that an IPC_SET_PERM\n   record is emitted in the failure case as well as the success case.\n   This matches the behavior in sys_shmctl().  I could simplify the\n   code in sys_msgctl() and semctl_down() slightly but it would mean\n   that in some error cases we could get an IPC_SET_PERM record\n   without an IPC record and that seemed odd.\n\n2. No change to the IPC record type, given no feedback on the backward\n   compatibility question.\n\n3. Removed the qbytes field from the IPC record.  It wasn\u0027t being\n   set and when audit_ipc_obj() is called from ipcperms(), the\n   information isn\u0027t available.  If we want the information in the IPC\n   record, more extensive changes will be necessary.  Since it only\n   applies to message queues and it isn\u0027t really permission related, it\n   doesn\u0027t seem worth it.\n\n4. Removed the obj field from the IPC_SET_PERM record.  This means that\n   the kern_ipc_perm argument is no longer needed.\n\n5. Removed the spaces and renamed the IPC_SET_PERM field names.  Replaced iuid and\n   igid fields with ouid and ogid in the IPC record.\n\nI tested this with the lspp.22 kernel on an x86_64 box.  I believe it\napplies cleanly on the latest kernel.\n\n-- ljk\n\nSigned-off-by: Linda Knippers \u003clinda.knippers@hp.com\u003e\nSigned-off-by: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f6424f2b6040ff99afac2fbc9d25ee8ed969130",
      "old_mode": 33188,
      "old_path": "include/linux/audit.h",
      "new_id": "da5f521be04b0363b47dba3d82f533618cc4a048",
      "new_mode": 33188,
      "new_path": "include/linux/audit.h"
    },
    {
      "type": "modify",
      "old_id": "7d1340ccb16b7d333cbbc9d1b2177943d3d63737",
      "old_mode": 33188,
      "old_path": "ipc/msg.c",
      "new_id": "00f015a092d292347d781a60bf9f72c71b4381d1",
      "new_mode": 33188,
      "new_path": "ipc/msg.c"
    },
    {
      "type": "modify",
      "old_id": "7919f8ece6bac8c89cd255b367fa8dfcb722fca5",
      "old_mode": 33188,
      "old_path": "ipc/sem.c",
      "new_id": "fce0bc8b5ad6f9c8652883a62c0b5ff2821f3853",
      "new_mode": 33188,
      "new_path": "ipc/sem.c"
    },
    {
      "type": "modify",
      "old_id": "8098968519026406191014b4cb64ee870e2a721c",
      "old_mode": 33188,
      "old_path": "ipc/shm.c",
      "new_id": "4f133d24030f386aa5749455111ec1fbe4da33fe",
      "new_mode": 33188,
      "new_path": "ipc/shm.c"
    },
    {
      "type": "modify",
      "old_id": "e4551659ad79a6da003a3fc424ddf3cabea03c7c",
      "old_mode": 33188,
      "old_path": "kernel/auditsc.c",
      "new_id": "fa4bf9625456e89cfbddeb57a0f242a06ff465f9",
      "new_mode": 33188,
      "new_path": "kernel/auditsc.c"
    }
  ]
}
