aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:22:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:22:16 -0400
commit76ca7d1cca761bb9712dfcad9a27d70b520874ae (patch)
tree4af495beaeee26b126e3dc6f0aa644e8e0b9e24e /init
parentd0cb5f71c5cde8e1ef6d03983641366800ceabdb (diff)
parent8d81e29fae18b93ab51f308b31babe1a6eb04314 (diff)
Merge branch 'akpm' (incoming from Andrew)
Merge first patch-bomb from Andrew Morton: - Various misc bits - kmemleak fixes - small befs, codafs, cifs, efs, freexxfs, hfsplus, minixfs, reiserfs things - fanotify - I appear to have become SuperH maintainer - ocfs2 updates - direct-io tweaks - a bit of the MM queue - printk updates - MAINTAINERS maintenance - some backlight things - lib/ updates - checkpatch updates - the rtc queue - nilfs2 updates - Small Documentation/ updates * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (237 commits) Documentation/SubmittingPatches: remove references to patch-scripts Documentation/SubmittingPatches: update some dead URLs Documentation/filesystems/ntfs.txt: remove changelog reference Documentation/kmemleak.txt: updates fs/reiserfs/super.c: add __init to init_inodecache fs/reiserfs: move prototype declaration to header file fs/hfsplus/attributes.c: add __init to hfsplus_create_attr_tree_cache() fs/hfsplus/extents.c: fix concurrent acess of alloc_blocks fs/hfsplus/extents.c: remove unused variable in hfsplus_get_block nilfs2: update project's web site in nilfs2.txt nilfs2: update MAINTAINERS file entries fix nilfs2: verify metadata sizes read from disk nilfs2: add FITRIM ioctl support for nilfs2 nilfs2: add nilfs_sufile_trim_fs to trim clean segs nilfs2: implementation of NILFS_IOCTL_SET_SUINFO ioctl nilfs2: add nilfs_sufile_set_suinfo to update segment usage nilfs2: add struct nilfs_suinfo_update and flags nilfs2: update MAINTAINERS file entries fs/coda/inode.c: add __init to init_inodecache() BEFS: logging cleanup ...
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig20
-rw-r--r--init/do_mounts.c4
2 files changed, 22 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 62b66acfdb30..8851c6417880 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -273,6 +273,16 @@ config FHANDLE
273 get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2) 273 get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
274 syscalls. 274 syscalls.
275 275
276config USELIB
277 bool "uselib syscall"
278 default y
279 help
280 This option enables the uselib syscall, a system call used in the
281 dynamic linker from libc5 and earlier. glibc does not use this
282 system call. If you intend to run programs built on libc5 or
283 earlier, you may need to enable this syscall. Current systems
284 running glibc can safely disable this.
285
276config AUDIT 286config AUDIT
277 bool "Auditing support" 287 bool "Auditing support"
278 depends on NET 288 depends on NET
@@ -1291,6 +1301,16 @@ config UID16
1291 help 1301 help
1292 This enables the legacy 16-bit UID syscall wrappers. 1302 This enables the legacy 16-bit UID syscall wrappers.
1293 1303
1304config SYSFS_SYSCALL
1305 bool "Sysfs syscall support" if EXPERT
1306 default y
1307 ---help---
1308 sys_sysfs is an obsolete system call no longer supported in libc.
1309 Note that disabling this option is more secure but might break
1310 compatibility with some systems.
1311
1312 If unsure say Y here.
1313
1294config SYSCTL_SYSCALL 1314config SYSCTL_SYSCALL
1295 bool "Sysctl syscall support" if EXPERT 1315 bool "Sysctl syscall support" if EXPERT
1296 depends on PROC_SYSCTL 1316 depends on PROC_SYSCTL
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 8e5addc45874..82f22885c87e 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -102,13 +102,13 @@ no_match:
102 102
103/** 103/**
104 * devt_from_partuuid - looks up the dev_t of a partition by its UUID 104 * devt_from_partuuid - looks up the dev_t of a partition by its UUID
105 * @uuid: char array containing ascii UUID 105 * @uuid_str: char array containing ascii UUID
106 * 106 *
107 * The function will return the first partition which contains a matching 107 * The function will return the first partition which contains a matching
108 * UUID value in its partition_meta_info struct. This does not search 108 * UUID value in its partition_meta_info struct. This does not search
109 * by filesystem UUIDs. 109 * by filesystem UUIDs.
110 * 110 *
111 * If @uuid is followed by a "/PARTNROFF=%d", then the number will be 111 * If @uuid_str is followed by a "/PARTNROFF=%d", then the number will be
112 * extracted and used as an offset from the partition identified by the UUID. 112 * extracted and used as an offset from the partition identified by the UUID.
113 * 113 *
114 * Returns the matching dev_t on success or 0 on failure. 114 * Returns the matching dev_t on success or 0 on failure.