Deleted Added
full compact
uipc_mqueue.c (205792) uipc_mqueue.c (209390)
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 205792 2010-03-28 13:13:22Z ed $");
46__FBSDID("$FreeBSD: head/sys/kern/uipc_mqueue.c 209390 2010-06-21 09:55:56Z ed $");
47
48#include "opt_compat.h"
49
50#include <sys/param.h>
51#include <sys/kernel.h>
52#include <sys/systm.h>
53#include <sys/limits.h>
54#include <sys/buf.h>

--- 70 unchanged lines hidden (view full) ---

125 struct mqfs_info *mn_info;
126 struct mqfs_node *mn_parent;
127 LIST_HEAD(,mqfs_node) mn_children;
128 LIST_ENTRY(mqfs_node) mn_sibling;
129 LIST_HEAD(,mqfs_vdata) mn_vnodes;
130 int mn_refcount;
131 mqfs_type_t mn_type;
132 int mn_deleted;
47
48#include "opt_compat.h"
49
50#include <sys/param.h>
51#include <sys/kernel.h>
52#include <sys/systm.h>
53#include <sys/limits.h>
54#include <sys/buf.h>

--- 70 unchanged lines hidden (view full) ---

125 struct mqfs_info *mn_info;
126 struct mqfs_node *mn_parent;
127 LIST_HEAD(,mqfs_node) mn_children;
128 LIST_ENTRY(mqfs_node) mn_sibling;
129 LIST_HEAD(,mqfs_vdata) mn_vnodes;
130 int mn_refcount;
131 mqfs_type_t mn_type;
132 int mn_deleted;
133 u_int32_t mn_fileno;
133 uint32_t mn_fileno;
134 void *mn_data;
135 struct timespec mn_birth;
136 struct timespec mn_ctime;
137 struct timespec mn_atime;
138 struct timespec mn_mtime;
139 uid_t mn_uid;
140 gid_t mn_gid;
141 int mn_mode;

--- 2622 unchanged lines hidden ---
134 void *mn_data;
135 struct timespec mn_birth;
136 struct timespec mn_ctime;
137 struct timespec mn_atime;
138 struct timespec mn_mtime;
139 uid_t mn_uid;
140 gid_t mn_gid;
141 int mn_mode;

--- 2622 unchanged lines hidden ---