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

Collapse All | Expand All

(-)libsandbox/wrapper-funcs/__wrapper_exec.c (-1 / +1 lines)
Lines 167-173 Link Here
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_VISIBILITY(sym->st_other) == STV_DEFAULT && \
169
				    sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \
169
				    sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \
170
				    sym->st_name && \
170
				    sym->st_name && sym->st_name < str_size && \
171
				    /* Minor optimization to avoid strcmp. */ \
171
				    /* Minor optimization to avoid strcmp. */ \
172
				    symname[0] == '_' && symname[1] == '_') { \
172
				    symname[0] == '_' && symname[1] == '_') { \
173
					/* Blacklist internal C library symbols. */ \
173
					/* Blacklist internal C library symbols. */ \

Return to bug 640174