summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/sysctl_helpers.h
blob: 35e37bfe1b3b55e920270505995da823e35e009d (plain) (blame)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __SYSCTL_HELPERS_H
#define __SYSCTL_HELPERS_H

int sysctl_set(const char *sysctl_path, char *old_val, const char *new_val);
int sysctl_set_or_fail(const char *sysctl_path, char *old_val, const char *new_val);

#endif