Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 672918 | Differences between
and this patch

Collapse All | Expand All

(-)sandbox-2.14/libsandbox/wrapper-funcs/__wrapper_exec.c.orig (-1 / +2 lines)
Lines 165-171 Link Here
165
			\
165
			\
166
			while (sym < symend) { \
166
			while (sym < symend) { \
167
				char *symname = (void *)(elf + stroff + sym->st_name); \
167
				char *symname = (void *)(elf + stroff + sym->st_name); \
168
				if (ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \
168
				if (ELF##n##_ST_TYPE(sym->st_info) == STT_FUNC && \
169
				    ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \
169
				    sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \
170
				    sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \
170
				    sym->st_name && \
171
				    sym->st_name && \
171
				    /* Minor optimization to avoid strcmp. */ \
172
				    /* Minor optimization to avoid strcmp. */ \

Return to bug 672918