Re: O_CAREFUL flag to disable open() side effects



On 7/27/06, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
Dumb thought: would it make sense to add an O_CAREFUL flag to open(), to
disable side effects?

Not that I don't want to be constructive, but this is something you'll
likely never be able to specify with the needed level of accuray.
What is careful? I can imagine all kinds ideas possible ways file
systems and device drivers might want to use this.

Adding a separate interface taking a file name isn't high enough a
price to open such a can of worms.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Print to Screen Q.
    ... Be careful of the quantity of records to print but you can just simply LIST ... You can also specify a scope, such as LIST NEXT 10 TO PRINT. ... Prev by Date: ...
    (microsoft.public.fox.programmer.exchange)
  • [OT] Re: Auto Zip Code Entry
    ... I remember when I started with Access, I was careful to create field lengths ... so as not to waste disk space. ... are there good reasons to specify smaller field sizes? ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Create rules doesnt work...AT ALL
    ... Be very careful in what you specify, it's not able to guess what you want. ... Made a rule to delete anything with "Free" in the subject, and run it on my Inbox, and the mail still sits there staring me in the face. ...
    (microsoft.public.office.misc)
  • Re: INTEGER*3
    ... >specify any bit size integer you wanted. ... Careful now, you could end up re-inventing PL/I ... Prev by Date: ...
    (comp.lang.fortran)