diff options
| author | Alan Cox <[email protected]> | 2008-10-13 09:37:48 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-13 16:51:40 +0000 |
| commit | c26c56c0f40e200e61d1390629c806f6adaffbcc (patch) | |
| tree | 88de4fce80e1529c7d34a59601752808351eb0ea /security/selinux/hooks.c | |
| parent | tty: use krefs to protect driver module counts (diff) | |
| download | kernel-c26c56c0f40e200e61d1390629c806f6adaffbcc.tar.gz kernel-c26c56c0f40e200e61d1390629c806f6adaffbcc.zip | |
tty: Cris has a nice RS485 ioctl so we should steal it
JP Tosoni observed:
"About a RS485 ioctl: could you consider the attached files which are
already in the Linux kernel (in include/asm-cris). They define a
TIOCSERSETRS485 (ioctl.h), and the data structure (rs485.h)
with allows to specify timings. Sounds just like what we want ?"
and he's right: sort of. Rework the structure to use flag bits and make the
time delay a fixed sized field so we don't get 32/64bit problems. Add the ioctls
to x86 so that people know what to add to their platform of choice.
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
