Deleted Added
full compact
linprocfs.c (205541) linprocfs.c (205592)
1/*-
2 * Copyright (c) 2000 Dag-Erling Co��dan Sm��rgrav
3 * Copyright (c) 1999 Pierre Beyssac
4 * Copyright (c) 1993 Jan-Simon Pendry
5 * Copyright (c) 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

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

37 * SUCH DAMAGE.
38 *
39 * @(#)procfs_status.c 8.4 (Berkeley) 6/15/94
40 */
41
42#include "opt_compat.h"
43
44#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2000 Dag-Erling Co��dan Sm��rgrav
3 * Copyright (c) 1999 Pierre Beyssac
4 * Copyright (c) 1993 Jan-Simon Pendry
5 * Copyright (c) 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

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

37 * SUCH DAMAGE.
38 *
39 * @(#)procfs_status.c 8.4 (Berkeley) 6/15/94
40 */
41
42#include "opt_compat.h"
43
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/compat/linprocfs/linprocfs.c 205541 2010-03-23 21:49:33Z jhb $");
45__FBSDID("$FreeBSD: head/sys/compat/linprocfs/linprocfs.c 205592 2010-03-24 14:20:37Z jhb $");
46
47#include <sys/param.h>
48#include <sys/queue.h>
49#include <sys/blist.h>
50#include <sys/conf.h>
51#include <sys/exec.h>
52#include <sys/fcntl.h>
53#include <sys/filedesc.h>

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

1230/*
1231 * Filler function for proc/filesystems
1232 */
1233static int
1234linprocfs_dofilesystems(PFS_FILL_ARGS)
1235{
1236 struct vfsconf *vfsp;
1237
46
47#include <sys/param.h>
48#include <sys/queue.h>
49#include <sys/blist.h>
50#include <sys/conf.h>
51#include <sys/exec.h>
52#include <sys/fcntl.h>
53#include <sys/filedesc.h>

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

1230/*
1231 * Filler function for proc/filesystems
1232 */
1233static int
1234linprocfs_dofilesystems(PFS_FILL_ARGS)
1235{
1236 struct vfsconf *vfsp;
1237
1238 mtx_lock(&Giant);
1238 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) {
1239 if (vfsp->vfc_flags & VFCF_SYNTHETIC)
1240 sbuf_printf(sb, "nodev");
1241 sbuf_printf(sb, "\t%s\n", vfsp->vfc_name);
1242 }
1239 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) {
1240 if (vfsp->vfc_flags & VFCF_SYNTHETIC)
1241 sbuf_printf(sb, "nodev");
1242 sbuf_printf(sb, "\t%s\n", vfsp->vfc_name);
1243 }
1244 mtx_unlock(&Giant);
1243 return(0);
1244}
1245
1246#if 0
1247/*
1248 * Filler function for proc/modules
1249 */
1250static int

--- 142 unchanged lines hidden ---
1245 return(0);
1246}
1247
1248#if 0
1249/*
1250 * Filler function for proc/modules
1251 */
1252static int

--- 142 unchanged lines hidden ---