# changelog

author: Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-26_rc2.an8]
changelog:
  - netfilter: nat: never update the UDP checksum when it's 0 (Guillaume Nault)
  - anolis: configs: Enable CONFIG_NETDEVSIM by default (Heng Qi)
  - anolis: sched: Fix the performence regression because of update_rq_on_expel() (Cruz Zhao)
  - NFC: reorder the logic in nfc_{un,}register_device (Lin Ma) {CVE-2021-4202}
  - NFC: reorganize the functions in nci_request (Lin Ma) {CVE-2021-4202}
  - pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() (Nikola Livic) {CVE-2021-4157}
  - xfs: fix missing CoW blocks writeback conversion retry (Darrick J. Wong)
  - xfs: force writes to delalloc regions to unwritten (Darrick J. Wong)
  - xfs: retry COW fork delalloc conversion when no extent was found (Christoph Hellwig)
  - xfs: remove the truncate short cut in xfs_map_blocks (Christoph Hellwig)
  - xfs: move xfs_iomap_write_allocate to xfs_aops.c (Christoph Hellwig)
  - xfs: move stat accounting to xfs_bmapi_convert_delalloc (Christoph Hellwig)
  - xfs: move transaction handling to xfs_bmapi_convert_delalloc (Christoph Hellwig)
  - xfs: split XFS_BMAPI_DELALLOC handling from xfs_bmapi_write (Christoph Hellwig)
  - xfs: factor out two helpers from xfs_bmapi_write (Christoph Hellwig)
  - xfs: simplify the xfs_bmap_btree_to_extents calling conventions (Christoph Hellwig)
  - xfs: remove the s_maxbytes checks in xfs_map_blocks (Christoph Hellwig)
  - xfs: remove the io_type field from the writeback context and ioend (Christoph Hellwig)
  - xfs: refactor xfs_iomap_prealloc_size (Darrick J. Wong)
  - xfs: measure all contiguous previous extents for prealloc size (Darrick J. Wong)
  - xfs: don't fail unwritten extent conversion on writeback due to edquot (Darrick J. Wong)
  - xfs: attach dquots and reserve quota blocks during unwritten conversion (Darrick J. Wong)
  - xfs: use the latest extent at writeback delalloc conversion time (Brian Foster)
  - xfs: create delalloc bmapi wrapper for full extent allocation (Brian Foster)
  - xfs: remove superfluous writeback mapping eof trimming (Brian Foster)
  - xfs: validate writeback mapping using data fork seq counter (Brian Foster)
  - xfs: update fork seq counter on data fork changes (Brian Foster)
  - mm/page_alloc.c: ratelimit allocation failure warnings more aggressively (Johannes Weiner)
  - mm, page_alloc: drop should_suppress_show_mem (Michal Hocko)
  - mm, page_alloc: move_freepages should not examine struct page of reserved memory (David Rientjes)
  - drm/vgem: Close use-after-free race in vgem_gem_create (Daniel Vetter) {CVE-2022-1419}
  - drm/vgem: Reclassify buffer creation debug message (Chris Wilson) {CVE-2022-1419}
  - mm/swapfile.c: fix potential memory leak in sys_swapon (Miaohe Lin)
  - mm/swapfile.c: move inode_lock out of claim_swapfile (Naohiro Aota)
  - mm/swapfile.c: fix a comment in sys_swapon() (Christoph Hellwig)
  - hibernate: Allow uswsusp to write to swap (Domenico Andreoli)
  - vfs: don't allow writes to swap files (Darrick J. Wong)
  - mm: set S_SWAPFILE on blockdev swap devices (Darrick J. Wong)
  - hinic: fix bug of wq out of bound access (XiangZao)
  - ext4: do not zeroout extents beyond i_disksize (Jan Kara)
  - anolis: mm, kidled: optimize kidled_set_page_age() call (Gang Deng)
  - af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register (Haimin Zhang) {CVE-2022-1353}
  - xfs: Fix tail rounding in xfs_alloc_file_space() (Max Reitz)
  - anolis: configs: Enable CONFIG_TEST_BPF by default (root)
  - xfs: properly serialise fallocate against AIO+DIO (Dave Chinner)
  - xfs: prohibit fstrim in norecovery mode (Darrick J. Wong)
  - tracing/kprobes: Do the notrace functions check without kprobes on ftrace (Masami Hiramatsu)
  - net/mlx5: Add command entry handling completion (Moshe Shemesh)
  - anolis: tcmu: fix compile warnings (Joseph Qi)
  - io_uring: fix race between timeout flush and removal (Jens Axboe) {CVE-2022-29582}
  - anolis: x86: Enable Kidled for x86 (zhongjiang-ali)


author: Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-26.an8]
changelog:
  - net/sched: cls_u32: fix netns refcount changes in u32_change() (Eric Dumazet) {CVE-2022-29581}
  - anolis: configs: Open CONFIG_RT_GROUP_SCHED (Xuchun)
  - perf tests: Fix a typo (Leo Yan)
  - perf tests: Disable bp_signal testing for arm64 (Leo Yan)
  - perf tests bp_account: Add dedicated checking helper is_supported() (Leo Yan)
  - netfilter: nat: limit port clash resolution attempts (Florian Westphal)
  - anolis: ftrace: fix update_tot_cnt statistic for x86 (Yinan Liu)
  - fuse: fix pipe buffer lifetime for direct_io (Miklos Szeredi) {CVE-2022-1011}
  - anolis: compiler: Make symbols visible defaultly when build vdso (Zeng Jiahao)
  - anolis: selftests/sgx: Add sgx functional test support without vdso (GuoRui.Yu)
  - anolis: selftests/sgx: make the sgx testcase compile with older openssl (GuoRui.Yu)
  - anolis: selftests/sgx: Fix sgx testcase compile error without vdso (GuoRui.Yu)
  - mm/vmalloc.c: keep track of free blocks for vmap allocation (Uladzislau Rezki (Sony))
  - anolis: irqbypass: optimize list traversal and lock contention (Zhiheng Tao)
  - ovl: fix regression with re-formatted lower squashfs (Amir Goldstein)
  - ovl: fix corner case of non-constant st_dev;st_ino (Amir Goldstein)
  - ovl: fix corner case of conflicting lower layer uuid (Amir Goldstein)
  - ovl: generalize the lower_fs[] array (Amir Goldstein)
  - ovl: generalize the lower_layers[] array (Amir Goldstein)
  - ovl: fix lookup failure on multi lower squashfs (Amir Goldstein)
  - ovl: relax requirement for non null uuid of lower fs (Amir Goldstein)
  - locks: print unsigned ino in /proc/locks (Amir Goldstein)
  - anolis: fuse: rename FUSE_PERFILE_DAX to FUSE_HAS_INODE_DAX (Jeffle Xu)
  - bpf, selftests: use :: 1 for localhost in tcp_server.py (John Fastabend)
  - anolis: configs: Enable CONFIG_IP_DCCP by default (Heng Qi)
  - ovl: return required buffer size for file handles (Lubos Dolezel)
  - ovl: fix WARN_ON nlink drop to zero (Miklos Szeredi)
  - cuse: fix broken release (Miklos Szeredi)
  - selftests: vm: drop dependencies on page flags from mlock2 tests (Michal Hocko)
  - af_unix: fix races in sk_peer_pid and sk_peer_cred accesses (Eric Dumazet) {CVE-2021-4203}
  - cred: allow get_cred() and put_cred() to be given NULL. (NeilBrown) {CVE-2021-4203}
  - ring-buffer: Protect ring_buffer_reset() from reentrancy (Steven Rostedt (VMware))
  - tracing: Fix race in trace_open and buffer resize call (Gaurav Kohli)
  - ring-buffer: speed up buffer resets by avoiding synchronize_rcu for each CPU (Nicholas Piggin)
  - xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata (Darrick J. Wong)
  - xfs: namecheck directory entry names before listing them (Darrick J. Wong)
  - xfs: namecheck attribute names before listing them (Darrick J. Wong)
  - xfs: check attribute leaf block structure (Darrick J. Wong)
  - xfs: check attribute name validity (Darrick J. Wong)
  - xfs: check directory name validity (Darrick J. Wong)
  - xfs: scrub should flag dir/attr offsets that aren't mappable with xfs_dablk_t (Darrick J. Wong)
  - xfs: abort xattr scrub if fatal signals are pending (Darrick J. Wong)
  - anolis: xfs: serialise aio+dio for missing xfs specific ioctls (Joseph Qi)


author: David Malcolm <dmalcolm@redhat.com> - 0.3-1
changelog:
  - add requirements on python-six and python3-six
  - add %check section (empty for now)
  - set PYTHON and PLUGIN_PYTHONPATH during each build; install support files
  into build-specific directories below the gcc plugin dir
  - add helper gcc-with-python scripts, with man pages
  - package the license
  - add example scripts
  - add explicit BR on gmp-devel (rhbz#725569)


author: David Malcolm <dmalcolm@redhat.com> - 0.16-1
changelog:
  - This releases adds support for gcc 7 and gcc 8 (along with continued support for gcc 4.6, 4.7, 4.8, 4.9, 5 and 6).
  - The upstream location for the plugin has moved from fedorahosted.org to https://github.com/davidmalcolm/gcc-python-plugin
  - Additionally, this release contains the following improvements:
    add gcc.RichLocation for GCC 6 onwards
    gcc.Location
    add caret, start, finish attributes for GCC 7 onwards
    add gcc.Location.offset_column() method


author: David Malcolm <dmalcolm@redhat.com> - 0.17-1
changelog:
  - This releases adds support for gcc 9 (along with continued support for
    gcc 4.6, 4.7, 4.8, 4.9, 5, 6, 7, and 8).
  - Unfortunately, the reference-count checker no longer works for gcc 7
    onwards, so it is disabled when embedded in those builds of gcc.
  - Additionally, this release contains the following improvements:
    the plugin can now be built in a separate build directory from the
    source directory (thanks to Tom de Vries)
  - gcc-with-cpychecker gained a --cpychecker-verbose option


author: Yihao Wu <wuyihao@linux.alibaba.com> 0.17-1.1
changelog:
  - Simplify the spec file to build only on Python2
  - Add inline attr to function decl
  - Add general purpose walk_tree
  - Add VarDecl.node points to varpool nodes
  - Add referring and referer to variables
  - Add decl.attributes
  - Add PLUGIN_INCLUDE_FILE callback
  - Make location hasher robust
  - Add external attribute
  - Make public attribute writable
  - Make initial attribute writeable
  - Make static attribute writtable
  - Add print_declaration support besides dump_generic_node
  - Add main_variant for types
  - Add context
  - Add current_function_decl
  - Add stub for types
  - Add main_input_filename
  - Add get_location
  - Add PLUGIN_FINISH_PARSE_FUNCTION support
  - Link with libpython3.8.so
  - Update gcc-python-wrapper.c for Python 3.8
  - Don't include "params.h" if building with GCC 10
  - Build on Python 3.8
  - .travis.yml: add gcc-9
  - tests: exercise gcc.TypeDecl.original_type
  - Added ability to get the result of DECL_ORIGINAL_TYPE
  - gcc-python-pretty-printer: fix GCC 8.3 compatibility


author: Erwei Deng <erwei@linux.alibaba.com> 0.17-1.2
changelog:
  - Simplify the spec file to build only on Python3
  - Workaround GCC bug of the no_sanitize attributes with parameters


author: Andrei Lapshin - 2.0.0-0.3.beta8
changelog:
  - Enable debug build
  - Enable verbose build output
  - Move libluajit-*.so to -devel
  - Add link to upstream hotfix #1


author: Andrei Lapshin - 2.0.0-0.4.beta9
changelog:
  - Update to new upstream version
  - Rename main executable to luajit
  - Remove BuildRoot tag and %clean section


author: Siddhesh Poyarekar <sid@reserved-bit.com> - 2.1.0-0.10beta3
changelog:
  - Add upstream bug fixes from the v2.1 branch.
  - Add bug fixes from https://github.com/siddhesh/LuaJIT.git
  - Incorporate tests and benchmarks from LuaJIT-test-cleanup.


author: Siddhesh Poyarekar <sid@reserved-bit.com> - 2.1.0-0.13beta3
changelog:
  - arm: Fix up condition codes for conditional arithmetic insn.
  - bugfix: fixed a segfault when unsinking 64-bit pointers.
  - Remove setrlimit on FreeBSD.
  - test: Check for package.searchers only in compat5.2.


author: Tao Xu <tao.xt@alibaba-inc.com> - 2.3.3-2
changelog:
  - Enable async SSL mode build for CPU acceleration
  - Fixes for resolv.conf detection and specification


