projects
/
platform
/
upstream
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
elf: Ignore LD_BIND_NOW and LD_BIND_NOT for setuid binaries
[platform/upstream/glibc.git]
/
elf
/
preloadtest.c
1
#include <stdio.h>
2
3
#include "testobj.h"
4
5
int
6
main (void)
7
{
8
int res = preload (42);
9
10
printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
11
12
return res != 92;
13
}
14
15
int
16
foo (int a)
17
{
18
return a;
19
}