Lines Matching refs:cb
76 selinux_set_callback(int type, union selinux_callback cb)
80 selinux_log = cb.func_log;
83 selinux_audit = cb.func_audit;
86 selinux_validate = cb.func_validate;
89 selinux_netlink_setenforce = cb.func_setenforce;
92 selinux_netlink_policyload = cb.func_policyload;
101 union selinux_callback cb;
105 cb.func_log = selinux_log;
108 cb.func_audit = selinux_audit;
111 cb.func_validate = selinux_validate;
114 cb.func_setenforce = selinux_netlink_setenforce;
117 cb.func_policyload = selinux_netlink_policyload;
120 memset(&cb, 0, sizeof(cb));
124 return cb;