diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-10-13 02:59:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-13 02:59:04 -0700 |
| commit | 59791303f2e94317415f09b3b0fe888ffaed9cdb (patch) | |
| tree | 7f83775d06794c94cbbaa859ced6d5cb3754e796 /kernel | |
| parent | 0e296d858d105a97c89387c95bfa45b51d965bf5 (diff) | |
[PATCH] msync correctness fixes
From Anton Blanchard. This fixes a couple of Linux Test Project
failures.
- Returns EBUSY if the caller is trying to invalidate memory which is
covered by a locked vma.
The open group say:
[EBUSY]
Some or all of the addresses in the range starting
at addr and continuing for len bytes are locked,
and MS_INVALIDATE is specified.
- Returns EINVAL if the caller specified both MS_SYNC and MS_ASYNC
[EINVAL]
The value of flags is invalid.
and:
"Either MS_ASYNC or MS_SYNC is specified, but not both."
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
