The open() system call in f8 really broken...

Pete Zaitcev zaitcev at redhat.com
Thu Aug 16 20:06:44 UTC 2007


On Thu, 16 Aug 2007 21:47:35 +0200, Oliver Falk <oliver at linux-kernel.at> wrote:

> if ((fd = open(fname, readonly? O_RDONLY : (O_RDWR|O_CREAT), 0022)) < 0) {

This was my first idea, but then I remembered how printk complains
about extra arguments for a format.

BTW, 022 is an strange mode. It looks like you used the umask.

-- Pete




More information about the Fedora-maintainers mailing list