summaryrefslogtreecommitdiff
path: root/sysctl.h
blob: 332380b102dd7dc976097e76bf059b332f8febb2 (plain)
1
2
3
4
5
6
7
8
9
#ifndef SYSCTL_H
#define SYSCTL_H

#define SYSCTL_PROC_PATH "/proc/sys/"

int sysctl_set_int(const char *file, int value);
int sysctl_get_int(const char *file, int *value);

#endif
/form>
authorLinus Walleij <linus.walleij@linaro.org>2016-06-08 14:56:39 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-13 17:43:05 +0800
commit19ced623db2fe91604d69f7d86b03144c5107739 (patch)
treee21bb594a9351e308144b475afa4d079ba338e27
parent12d3f49e1ffbbf8cbbb60acae5a21103c5c841ac (diff)
crypto: ux500 - memmove the right size
The hash buffer is really HASH_BLOCK_SIZE bytes, someone must have thought that memmove takes n*u32 words by mistake. Tests work as good/bad as before after this patch. Cc: Joakim Bech <joakim.bech@linaro.org> Cc: stable@vger.kernel.org Reported-by: David Binderman <linuxdev.baldrick@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat