Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141996599
D30378.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
771 B
Referenced Files
None
Subscribers
None
D30378.id.diff
View Options
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -1650,6 +1650,17 @@
return (0);
}
+/*
+ * Filler function for proc/sys/kernel/core_pattern
+ */
+static int
+linprocfs_docore_pattern(PFS_FILL_ARGS)
+{
+
+ sbuf_printf(sb, "core\n");
+ return (0);
+}
+
/*
* Filler function for proc/sys/vm/min_free_kbytes
*
@@ -2069,6 +2080,8 @@
NULL, NULL, NULL, PFS_RD);
pfs_create_file(dir, "tainted", &linprocfs_dotainted,
NULL, NULL, NULL, PFS_RD);
+ pfs_create_file(dir, "core_pattern", &linprocfs_docore_pattern,
+ NULL, NULL, NULL, PFS_RD);
/* /proc/sys/kernel/random/... */
dir = pfs_create_dir(dir, "random", NULL, NULL, NULL, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 4:22 PM (16 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27653133
Default Alt Text
D30378.id.diff (771 B)
Attached To
Mode
D30378: linuxulator: Add filler for 'core' entry in linsysfs.
Attached
Detach File
Event Timeline
Log In to Comment