netlink.c (ebf8889bd1fe3615991ff4494635d237280652a2) | netlink.c (dd6f953adb5c4deb9cd7b6a5054e7d5eafe4ed71) |
---|---|
1/* 2 * Netlink event notifications for SELinux. 3 * 4 * Author: James Morris <jmorris@redhat.com> 5 * 6 * Copyright (C) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 75 unchanged lines hidden (view full) --- 84 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; 85 netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER); 86out: 87 return; 88 89nlmsg_failure: 90 kfree_skb(skb); 91oom: | 1/* 2 * Netlink event notifications for SELinux. 3 * 4 * Author: James Morris <jmorris@redhat.com> 5 * 6 * Copyright (C) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 75 unchanged lines hidden (view full) --- 84 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; 85 netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER); 86out: 87 return; 88 89nlmsg_failure: 90 kfree_skb(skb); 91oom: |
92 printk(KERN_ERR "SELinux: OOM in %s\n", __FUNCTION__); | 92 printk(KERN_ERR "SELinux: OOM in %s\n", __func__); |
93 goto out; 94} 95 96void selnl_notify_setenforce(int val) 97{ 98 selnl_notify(SELNL_MSG_SETENFORCE, &val); 99} 100 --- 16 unchanged lines hidden --- | 93 goto out; 94} 95 96void selnl_notify_setenforce(int val) 97{ 98 selnl_notify(SELNL_MSG_SETENFORCE, &val); 99} 100 --- 16 unchanged lines hidden --- |