Home
last modified time | relevance | path

Searched refs:suser (Results 1 – 25 of 28) sorted by relevance

12

/linux-2.4.37.9/drivers/macintosh/
Dapm_emu.c77 int suser: 1; member
158 if (!as->suser) in queue_event()
255 if (!as->suser) in do_ioctl()
342 as->suser = capable(CAP_SYS_ADMIN); in do_open()
347 DBG("apm_emu: opened by %s, suser: %d\n", current->comm, (int)as->suser); in do_open()
/linux-2.4.37.9/arch/i386/kernel/
Dmtrr.c1678 if ( !suser () ) return -EPERM; in mtrr_write()
1746 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1753 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1760 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1767 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1792 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1799 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1806 if ( !suser () ) return -EPERM; in mtrr_ioctl()
1813 if ( !suser () ) return -EPERM; in mtrr_ioctl()
Dapm.c343 int suser: 1; member
1168 if ((!as->suser) || (!as->writer)) in queue_event()
1512 if ((!as->suser) || (!as->writer)) in do_ioctl()
1606 as->suser = capable(CAP_SYS_ADMIN); in do_open()
/linux-2.4.37.9/include/linux/
Dcompatmac.h105 #define capable(x) suser()
Dsched.h721 static inline int suser(void) in suser() function
/linux-2.4.37.9/drivers/net/wan/lmc/
Dlmc_main.c179 if (!suser ()) { in lmc_ioctl()
214 if (!suser ()) { in lmc_ioctl()
294 if (!suser ()){ in lmc_ioctl()
308 if (!suser ()){ in lmc_ioctl()
326 if (!suser ()){ in lmc_ioctl()
359 if (!suser ()){ in lmc_ioctl()
/linux-2.4.37.9/drivers/char/
Dvt.c452 if (current->tty == tty || suser()) in vt_ioctl()
1046 if (!suser()) in vt_ioctl()
1051 if (!suser()) in vt_ioctl()
Dtty_io.c1778 if (!retval && test_bit(TTY_EXCLUSIVE, &tty->flags) && !suser()) in tty_open()
1885 if ((current->tty != tty) && !suser()) in tiocsti()
1925 if (!suser()) in tioccons()
1977 if ((arg == 1) && suser()) { in tiocsctty()
Dmxser.c2207 if (!suser()) { in mxser_set_serial_info()
Dserial167.c1471 if (!suser()) { in set_serial_info()
Drocket.c1333 if (!suser()) in set_config()
Dmoxa.c2797 if (!suser()) { in moxa_set_serial_info()
Dip2main.c2692 if ( !suser() ) { in set_serial_info()
/linux-2.4.37.9/arch/ppc/kernel/
Dsyscalls.c183 #define allow_mmap_address(addr) ((((addr) & PAGE_MASK) >= 0x2100) || suser())
/linux-2.4.37.9/drivers/block/
Dswim_iop.c350 if ((cmd & 0x80) && !suser()) in floppy_ioctl()
Dswim3.c854 if ((cmd & 0x80) && !suser()) in floppy_ioctl()
/linux-2.4.37.9/fs/
DChangeLog38 suser() here; some are fine with CAP_FOWNER. The later
/linux-2.4.37.9/drivers/pcmcia/
Dds.c835 if (!suser()) return -EPERM; in ds_ioctl()
/linux-2.4.37.9/drivers/s390/char/
Dtubtty.c563 if (!suser()) { in tty3270_write_proc()
/linux-2.4.37.9/drivers/char/rio/
Drio_linux.c705 rc = -riocontrol (p, 0, cmd, (void *)arg, suser ()); in rio_fw_ioctl()
/linux-2.4.37.9/drivers/scsi/
DcpqfcTSinit.c448 if (!suser()) in cpqfcTS_ioctl()
/linux-2.4.37.9/drivers/media/video/
Dzr36120.c1298 if(!suser()) in zoran_ioctl()
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c1191 if (current->tty == tty || suser()) in vt_check()
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c1438 if (current->tty == tty || suser()) in vt_check()
/linux-2.4.37.9/drivers/net/wan/
Dpc300_drv.c2373 if (!suser()) in cpc_ioctl()

12