Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3751a08 in mainline


Ignore:
Timestamp:
2011-08-16T09:45:58Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
16dc887, b585dfa9
Parents:
8d8eeb9
Message:

Allow IPC read of zero size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    r8d8eeb9 r3751a08  
    427427        case IPC_M_DATA_READ: {
    428428                size_t size = IPC_GET_ARG2(call->data);
    429                 if (size <= 0)
    430                         return ELIMIT;
    431429                if (size > DATA_XFER_LIMIT) {
    432430                        int flags = IPC_GET_ARG3(call->data);
Note: See TracChangeset for help on using the changeset viewer.