Messages in this thread | | | Date | Mon, 2 Nov 1998 21:10:50 -0500 | From | "Theodore Y. Ts'o" <> | Subject | Re: Two small fixes for the serial driver |
| |
From: Matthias.Fengler@dresdner-bank.com Date: Mon, 2 Nov 1998 14:54:24 -0000
A non-privileged user should be able to set or reset the ASYNC_SPD_* flags on a serial port, but he actually isn't. setserial (or TIOC[SG]SERIAL) will allow him to change these settings and will also return those changed values afterwards even though the kernel won't use these values for the port. Setting the custom divisor works fine, so once root has set the ASYNC_SPD_CUST flag a normal user can specify the divisor, but is unable to reset the port to plain 38400 baud by resetting ASYNC_SPD_CUST.
Thanks! The patches you supplied look good; I'll be bundling them together to send to Linus with a few other serial bug fixes.
- Ted
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |