Age | Commit message (Collapse) | Author |
|
* pager.c (dev_get_memory_object): Deal with errors from
pager_create properly.
|
|
* pager.c (service_paging_requests): New args for
ports_manage_port_operations_multithread.
* storeio.c (main): Likewise.
|
|
|
|
Don't bother returning EBADF.
(trivfs_S_io_readable, trivfs_S_io_read, trivfs_S_io_map):
Return EBADF instead of EINVAL.
|
|
|
|
Return EINVAL instead of EBADF.
(trivfs_S_io_map):
Return EINVAL if CRED cannot be read or written.
|
|
|
|
Add iohelp.
|
|
|
|
Add PROT arg.
Use store_map.
|
|
Pass PROT argument to dev_get_memory_object.
|
|
Add PROT arg.
|
|
|
|
|
|
|
|
Make sure there are enough references to MEMOBJ for both read & write ports.
|
|
(dev_stop_paging): Work entirely by flushing user pagers; don't kill pager.
(pager_clear_user_data): Zero our pointer to the pager.
|
|
|
|
New function (was nested in main).
(doc):
Make an initialized array.
(fsys_port_class, root_port_class, port_bucket, trivfs_protid_portclasses,
trivfs_protid_nportclasses, trivfs_cntl_portclasses,
trivfs_cntl_nportclasses):
Variables removed.
(argp, argp_kids):
New variables (were nested in main).
(main):
Don't set or use port class/bucket variables, let trivfs_startup do it.
Add FSYS variable.
(trivfs_goaway):
Get ROOT_PORT_CLASS from FSYS.
|
|
* storeio.c (trivfs_check_open_hook): New arg syntax.
(check_open_hook): Likewise.
|
|
|
|
Use elements of type `struct argp_child' for KIDS.
|
|
|
|
If necessary to enforce security, make a copy of STORE and inactivate it
before returning.
|
|
|
|
Function removed (trivfs default is now sufficient).
|
|
|
|
Return EROFS if O_WRITE on a readonly device.
(trivfs_S_file_check_access):
New function.
|
|
|
|
Make ARGZ_LEN of type `size_t *'.
Narrow scope of BUF.
<argz.h>:
New include.
|
|
|
|
Use STORE_PARAMS variable to get result from parsing STORE_ARGP.
(trivfs_append_args):
New function.
|
|
Cast BUF into void ** for dev_read.
|
|
Use void * buffers.
|
|
Use void * buffers.
|
|
Use void * buffers.
|
|
Remove CLASSES argument to store_parsed_open.
(dev_buf_fill, dev_read, dev_write):
Use void * buffers.
|
|
|
|
|
|
|
|
|
|
(dev_open, dev_close): Remove ifdef'd-out code for allocating
DEV's buffer with valloc; other things depend on it being vm_allocated.
|
|
<version.h>: New include.
|
|
|
|
|
|
|