uipc_mqueue.c (253529) | uipc_mqueue.c (254356) |
---|---|
1/*- 2 * Copyright (c) 2005 David Xu <davidxu@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38 * times at different mount points but shows same contents. 39 * 40 * 2) Standard POSIX message queue API. The syscalls do not use vfs layer, 41 * but directly operate on internal data structure, this allows user to 42 * use the IPC facility without having to mount mqueue file system. 43 */ 44 45#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2005 David Xu <davidxu@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38 * times at different mount points but shows same contents. 39 * 40 * 2) Standard POSIX message queue API. The syscalls do not use vfs layer, 41 * but directly operate on internal data structure, this allows user to 42 * use the IPC facility without having to mount mqueue file system. 43 */ 44 45#include <sys/cdefs.h> |
46__FBSDID("$FreeBSD: head/sys/kern/uipc_mqueue.c 253529 2013-07-21 19:40:30Z kib $"); | 46__FBSDID("$FreeBSD: head/sys/kern/uipc_mqueue.c 254356 2013-08-15 07:54:31Z glebius $"); |
47 48#include "opt_capsicum.h" 49#include "opt_compat.h" 50 51#include <sys/param.h> 52#include <sys/kernel.h> 53#include <sys/systm.h> 54#include <sys/limits.h> --- 2537 unchanged lines hidden (view full) --- 2592 .fo_write = mqf_write, 2593 .fo_truncate = mqf_truncate, 2594 .fo_ioctl = mqf_ioctl, 2595 .fo_poll = mqf_poll, 2596 .fo_kqfilter = mqf_kqfilter, 2597 .fo_stat = mqf_stat, 2598 .fo_chmod = mqf_chmod, 2599 .fo_chown = mqf_chown, | 47 48#include "opt_capsicum.h" 49#include "opt_compat.h" 50 51#include <sys/param.h> 52#include <sys/kernel.h> 53#include <sys/systm.h> 54#include <sys/limits.h> --- 2537 unchanged lines hidden (view full) --- 2592 .fo_write = mqf_write, 2593 .fo_truncate = mqf_truncate, 2594 .fo_ioctl = mqf_ioctl, 2595 .fo_poll = mqf_poll, 2596 .fo_kqfilter = mqf_kqfilter, 2597 .fo_stat = mqf_stat, 2598 .fo_chmod = mqf_chmod, 2599 .fo_chown = mqf_chown, |
2600 .fo_close = mqf_close | 2600 .fo_close = mqf_close, 2601 .fo_sendfile = invfo_sendfile, |
2601}; 2602 2603static struct vop_vector mqfs_vnodeops = { 2604 .vop_default = &default_vnodeops, 2605 .vop_access = mqfs_access, 2606 .vop_cachedlookup = mqfs_lookup, 2607 .vop_lookup = vfs_cache_lookup, 2608 .vop_reclaim = mqfs_reclaim, --- 261 unchanged lines hidden --- | 2602}; 2603 2604static struct vop_vector mqfs_vnodeops = { 2605 .vop_default = &default_vnodeops, 2606 .vop_access = mqfs_access, 2607 .vop_cachedlookup = mqfs_lookup, 2608 .vop_lookup = vfs_cache_lookup, 2609 .vop_reclaim = mqfs_reclaim, --- 261 unchanged lines hidden --- |