• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/

Lines Matching defs:ax

1576 	struct audit_aux_data_mq_open *ax;
1585 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1586 if (!ax)
1590 if (copy_from_user(&ax->attr, u_attr, sizeof(ax->attr))) {
1591 kfree(ax);
1595 memset(&ax->attr, 0, sizeof(ax->attr));
1597 ax->oflag = oflag;
1598 ax->mode = mode;
1600 ax->d.type = AUDIT_MQ_OPEN;
1601 ax->d.next = context->aux;
1602 context->aux = (void *)ax;
1618 struct audit_aux_data_mq_sendrecv *ax;
1627 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1628 if (!ax)
1632 if (copy_from_user(&ax->abs_timeout, u_abs_timeout, sizeof(ax->abs_timeout))) {
1633 kfree(ax);
1637 memset(&ax->abs_timeout, 0, sizeof(ax->abs_timeout));
1639 ax->mqdes = mqdes;
1640 ax->msg_len = msg_len;
1641 ax->msg_prio = msg_prio;
1643 ax->d.type = AUDIT_MQ_SENDRECV;
1644 ax->d.next = context->aux;
1645 context->aux = (void *)ax;
1662 struct audit_aux_data_mq_sendrecv *ax;
1671 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1672 if (!ax)
1676 if (get_user(ax->msg_prio, u_msg_prio)) {
1677 kfree(ax);
1681 ax->msg_prio = 0;
1684 if (copy_from_user(&ax->abs_timeout, u_abs_timeout, sizeof(ax->abs_timeout))) {
1685 kfree(ax);
1689 memset(&ax->abs_timeout, 0, sizeof(ax->abs_timeout));
1691 ax->mqdes = mqdes;
1692 ax->msg_len = msg_len;
1694 ax->d.type = AUDIT_MQ_SENDRECV;
1695 ax->d.next = context->aux;
1696 context->aux = (void *)ax;
1710 struct audit_aux_data_mq_notify *ax;
1719 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1720 if (!ax)
1724 if (copy_from_user(&ax->notification, u_notification, sizeof(ax->notification))) {
1725 kfree(ax);
1729 memset(&ax->notification, 0, sizeof(ax->notification));
1731 ax->mqdes = mqdes;
1733 ax->d.type = AUDIT_MQ_NOTIFY;
1734 ax->d.next = context->aux;
1735 context->aux = (void *)ax;
1748 struct audit_aux_data_mq_getsetattr *ax;
1757 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1758 if (!ax)
1761 ax->mqdes = mqdes;
1762 ax->mqstat = *mqstat;
1764 ax->d.type = AUDIT_MQ_GETSETATTR;
1765 ax->d.next = context->aux;
1766 context->aux = (void *)ax;
1778 struct audit_aux_data_ipcctl *ax;
1781 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1782 if (!ax)
1785 ax->uid = ipcp->uid;
1786 ax->gid = ipcp->gid;
1787 ax->mode = ipcp->mode;
1788 selinux_get_ipc_sid(ipcp, &ax->osid);
1790 ax->d.type = AUDIT_IPC;
1791 ax->d.next = context->aux;
1792 context->aux = (void *)ax;
1807 struct audit_aux_data_ipcctl *ax;
1810 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1811 if (!ax)
1814 ax->qbytes = qbytes;
1815 ax->uid = uid;
1816 ax->gid = gid;
1817 ax->mode = mode;
1819 ax->d.type = AUDIT_IPC_SET_PERM;
1820 ax->d.next = context->aux;
1821 context->aux = (void *)ax;
1827 struct audit_aux_data_execve *ax;
1835 ax = kmalloc(sizeof(*ax) + PAGE_SIZE * MAX_ARG_PAGES - bprm->p,
1837 if (!ax)
1840 ax->argc = bprm->argc;
1841 ax->envc = bprm->envc;
1842 for (p = bprm->p, to = ax->mem; p < MAX_ARG_PAGES*PAGE_SIZE; p = next) {
1851 ax->d.type = AUDIT_EXECVE;
1852 ax->d.next = context->aux;
1853 context->aux = (void *)ax;
1867 struct audit_aux_data_socketcall *ax;
1873 ax = kmalloc(sizeof(*ax) + nargs * sizeof(unsigned long), GFP_KERNEL);
1874 if (!ax)
1877 ax->nargs = nargs;
1878 memcpy(ax->args, args, nargs * sizeof(unsigned long));
1880 ax->d.type = AUDIT_SOCKETCALL;
1881 ax->d.next = context->aux;
1882 context->aux = (void *)ax;
1896 struct audit_aux_data_fd_pair *ax;
1902 ax = kmalloc(sizeof(*ax), GFP_KERNEL);
1903 if (!ax) {
1907 ax->fd[0] = fd1;
1908 ax->fd[1] = fd2;
1910 ax->d.type = AUDIT_FD_PAIR;
1911 ax->d.next = context->aux;
1912 context->aux = (void *)ax;
1925 struct audit_aux_data_sockaddr *ax;
1931 ax = kmalloc(sizeof(*ax) + len, GFP_KERNEL);
1932 if (!ax)
1935 ax->len = len;
1936 memcpy(ax->a, a, len);
1938 ax->d.type = AUDIT_SOCKADDR;
1939 ax->d.next = context->aux;
1940 context->aux = (void *)ax;
1963 struct audit_aux_data_path *ax;
1969 ax = kmalloc(sizeof(*ax), GFP_ATOMIC);
1970 if (!ax)
1973 ax->dentry = dget(dentry);
1974 ax->mnt = mntget(mnt);
1976 ax->d.type = AUDIT_AVC_PATH;
1977 ax->d.next = context->aux;
1978 context->aux = (void *)ax;