Skip to content
This repository has been archived by the owner on Dec 29, 2017. It is now read-only.

Commit

Permalink
grsec: Apply grsecurity-3.1-4.9.24-201704220732.patch
Browse files Browse the repository at this point in the history
commit d57f26c39ebc08fd5e598b05d47f97cb5f3143ee
Author: Brad Spengler <[email protected]>
Date:   Sat Apr 22 07:04:00 2017 -0400

    Remove empty line from disable.data

commit ebfb4e5857a7f38b8128e139eefc62c34f2cf67d
Author: Brad Spengler <[email protected]>
Date:   Sat Apr 22 06:55:35 2017 -0400

    fixed a regression in the 4.9 port of refcount error reporting that would cause unexpected
    code execution upon refcount errors, reported by Jann Horn <[email protected]>

commit b87a02881f1bfd4c48466c0f00fec2ca676ae8d7
Author: Brad Spengler <[email protected]>
Date:   Fri Apr 21 19:21:56 2017 -0400

    Fix size_overflow report from alaviss:
    https://forums.grsecurity.net/viewtopic.php?f=3&t=4694&p=17072#p17072

Signature-tree: 6590e141da7fa1bcd03e994d776aafa66268fe21
  • Loading branch information
Brad Spengler authored and l0kod committed Apr 22, 2017
1 parent 89caeba commit 2821b0b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion arch/x86/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str,

#ifdef CONFIG_PAX_REFCOUNT
if (trapnr == X86_REFCOUNT_VECTOR) {
regs->ip -= 2; // sizeof int $xx
pax_report_refcount_error(regs, str);
}
#endif
Expand Down
1 change: 1 addition & 0 deletions scripts/gcc-plugins/size_overflow_plugin/disable.data
Original file line number Diff line number Diff line change
Expand Up @@ -12470,3 +12470,4 @@ btrfs_get_token_32_fndecl_7192_fns btrfs_get_token_32 fndecl 0 7192 NULL
btrfs_get_token_16_fndecl_46639_fns btrfs_get_token_16 fndecl 0 46639 NULL
btrfs_get_token_64_fndecl_54223_fns btrfs_get_token_64 fndecl 0 54223 NULL
qdisc_tree_reduce_backlog_fndecl_3865_fields qdisc_tree_reduce_backlog fndecl 2 3865 NULL
user_buffer_offset_binder_proc_17508_fields user_buffer_offset binder_proc 0 17508 NULL
1 change: 0 additions & 1 deletion scripts/gcc-plugins/size_overflow_plugin/e_fields.data
Original file line number Diff line number Diff line change
Expand Up @@ -4355,7 +4355,6 @@ e_block_mb_cache_entry_17485_fields e_block mb_cache_entry 0 17485 NULL
len_tmc_drvdata_17487_fields len tmc_drvdata 0 17487 NULL
mlx4_ib_reg_user_mr_fndecl_17492_fields mlx4_ib_reg_user_mr fndecl 3-2 17492 NULL
qp_memcpy_from_queue_fndecl_17500_fields qp_memcpy_from_queue fndecl 5-4 17500 NULL
user_buffer_offset_binder_proc_17508_fields user_buffer_offset binder_proc 0 17508 NULL
invalidate_fndecl_17509_fields invalidate fndecl 4-3 17509 NULL
brcmf_fil_iovar_data_set_fndecl_17512_fields brcmf_fil_iovar_data_set fndecl 4 17512 NULL
npages_free_dma_pool_17513_fields npages_free dma_pool 0 17513 NULL nohasharray
Expand Down

0 comments on commit 2821b0b

Please sign in to comment.