Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'objtool_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull objtool fixes from Borislav Petkov:

- Mark copy_iovec_from_user() __noclone in order to prevent gcc from
doing an inter-procedural optimization and confuse objtool

- Initialize struct elf fully to avoid build failures

* tag 'objtool_urgent_for_v6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
iov_iter: Mark copy_iovec_from_user() noclone
objtool: initialize all of struct elf

+2 -2
+1 -1
lib/iov_iter.c
··· 1349 1349 return ret; 1350 1350 } 1351 1351 1352 - static int copy_iovec_from_user(struct iovec *iov, 1352 + static __noclone int copy_iovec_from_user(struct iovec *iov, 1353 1353 const struct iovec __user *uiov, unsigned long nr_segs) 1354 1354 { 1355 1355 int ret = -EFAULT;
+1 -1
tools/objtool/elf.c
··· 1005 1005 perror("malloc"); 1006 1006 return NULL; 1007 1007 } 1008 - memset(elf, 0, offsetof(struct elf, sections)); 1008 + memset(elf, 0, sizeof(*elf)); 1009 1009 1010 1010 INIT_LIST_HEAD(&elf->sections); 1011 1011