[$] Filesystem-oriented flags: sad, messy and not going away
Over the last decade, the addition of a "flags"argument to all new system calls, even if no flags are actually neededat theoutset, has been widely adopted as a best practice. The result hascertainly been greater API extensibility, but we have also seen a proliferation ofvarious types of flags for related system calls. For calls related tofiles and filesystems, in particular, the available flags have reached apoint where some calls will need as many as three arguments for themrather than just one.