Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7e7e33c6
Commit
7e7e33c6
authored
Feb 19, 2003
by
Art Haas
Committed by
Linus Torvalds
Feb 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializer for net/rxrpc/sysctl.c
parent
6c9d8480
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
7 deletions
+41
-7
net/rxrpc/sysctl.c
net/rxrpc/sysctl.c
+41
-7
No files found.
net/rxrpc/sysctl.c
View file @
7e7e33c6
...
...
@@ -29,16 +29,50 @@ int rxrpc_knet;
static
struct
ctl_table_header
*
rxrpc_sysctl
=
NULL
;
static
ctl_table
rxrpc_sysctl_table
[]
=
{
{
1
,
"kdebug"
,
&
rxrpc_kdebug
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec
},
{
2
,
"ktrace"
,
&
rxrpc_ktrace
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec
},
{
3
,
"kproto"
,
&
rxrpc_kproto
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec
},
{
4
,
"knet"
,
&
rxrpc_knet
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec
},
{
0
}
{
.
ctl_name
=
1
,
.
procname
=
"kdebug"
,
.
data
=
&
rxrpc_kdebug
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec
},
{
.
ctl_name
=
2
,
.
procname
=
"ktrace"
,
.
data
=
&
rxrpc_ktrace
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec
},
{
.
ctl_name
=
3
,
.
procname
=
"kproto"
,
.
data
=
&
rxrpc_kproto
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec
},
{
.
ctl_name
=
4
,
.
procname
=
"knet"
,
.
data
=
&
rxrpc_knet
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec
},
{
.
ctl_name
=
0
}
};
static
ctl_table
rxrpc_dir_sysctl_table
[]
=
{
{
1
,
"rxrpc"
,
NULL
,
0
,
0555
,
rxrpc_sysctl_table
},
{
0
}
{
.
ctl_name
=
1
,
.
procname
=
"rxrpc"
,
.
maxlen
=
0
,
.
mode
=
0555
,
.
child
=
rxrpc_sysctl_table
},
{
.
ctl_name
=
0
}
};
#endif
/* CONFIG_SYSCTL */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment