Changeset 4b995b92 in mainline for uspace/srv
- Timestamp:
- 2010-01-24T13:02:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 203a090
- Parents:
- c1a8e5e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
rc1a8e5e6 r4b995b92 459 459 /* 460 460 * Make sure that we are called with exactly one of L_FILE and 461 * L_DIRECTORY. Make sure that the user does not pass L_OPEN. 461 * L_DIRECTORY. Make sure that the user does not pass L_OPEN or 462 * L_NOCROSS_LAST_MP. 462 463 */ 463 464 if (((lflag & (L_FILE | L_DIRECTORY)) == 0) || 464 465 ((lflag & (L_FILE | L_DIRECTORY)) == (L_FILE | L_DIRECTORY)) || 465 ( (lflag & L_OPEN) != 0)) {466 (lflag & L_OPEN) || (lflag & L_NOCROSS_LAST_MP)) { 466 467 ipc_answer_0(rid, EINVAL); 467 468 return;
Note:
See TracChangeset
for help on using the changeset viewer.