[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-05-31 Thread Po-Hsu Lin
** Changed in: linux-oem-5.6 (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-05-11 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.8.0-53.60

---
linux (5.8.0-53.60) groovy; urgency=medium

  * CVE-2021-3491
- io_uring: fix provide_buffers sign extension
- io_uring: fix overflows checks in provide buffers
- SAUCE: proc: Avoid mixing integer types in mem_rw()
- SAUCE: io_uring: truncate lengths larger than MAX_RW_COUNT on provide
  buffers

  * CVE-2021-3490
- bpf: Fix a verifier failure with xor
- SAUCE: bpf: verifier: fix ALU32 bounds tracking with bitwise ops

  * CVE-2021-3489
- SAUCE: bpf: ringbuf: deny reserve of buffers larger than ringbuf
- SAUCE: bpf: prevent writable memory-mapping of read-only ringbuf pages

 -- Stefan Bader   Thu, 06 May 2021 07:43:20
+0200

** Changed in: linux (Ubuntu Groovy)
   Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-3489

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-3490

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-3491

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-05-11 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.6 - 5.6.0-1056.60

---
linux-oem-5.6 (5.6.0-1056.60) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1056.60 -proposed tracker (LP: #1923783)

  * CVE-2021-29646
- tipc: better validate user input in tipc_nl_retrieve_key()

  * CVE-2021-28375
- misc: fastrpc: restrict user apps from sending kernel RPC messages

  * CVE-2020-35519
- net/x25: prevent a couple of overflows

  * CVE-2021-30002
- media: v4l: ioctl: Fix memory leak in video_usercopy

  * SND_PCI_QUIRK for Clevo NH55RZQ and Intel NUC10 (LP: #1922759)
- ALSA: hda/realtek: Add quirk for Intel NUC 10
- ALSA: hda/realtek: Add quirk for Clevo NH55RZQ

  * CVE-2021-29650
- netfilter: x_tables: Use correct memory barriers.

  * Fix implicit declaration warnings for kselftests/memfd test on newer
releases (LP: #1910323)
- selftests/memfd: Fix implicit declaration warnings

 -- Chia-Lin Kao (AceLan)   Tue, 04 May 2021
11:46:25 +0800

** Changed in: linux-oem-5.6 (Ubuntu Focal)
   Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-35519

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-28375

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-29646

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-30002

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.4.0-73.82

---
linux (5.4.0-73.82) focal; urgency=medium

  * focal/linux: 5.4.0-73.82 -proposed tracker (LP: #1923781)

  * Packaging resync (LP: #1786013)
- update dkms package versions

  * CIFS DFS entries not accessible with 5.4.0-71.74-generic (LP: #1923670)
- Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting
  cifs_sb->prepath."

  * CVE-2021-29650
- Revert "netfilter: x_tables: Update remaining dereference to RCU"
- Revert "netfilter: x_tables: Switch synchronization to RCU"
- netfilter: x_tables: Use correct memory barriers.

  * LRMv4: switch to signing nvidia modules via the Ubuntu Modules signing key
(LP: #1918134)
- [Packaging] dkms-build{,--nvidia-N} sync back from LRMv4

  * 5.4 kernel: when iommu is on crashdump fails (LP: #1922738)
- iommu/vt-d: Refactor find_domain() helper
- iommu/vt-d: Add attach_deferred() helper
- iommu/vt-d: Move deferred device attachment into helper function
- iommu/vt-d: Do deferred attachment in iommu_need_mapping()
- iommu/vt-d: Remove deferred_attach_domain()
- iommu/vt-d: Simplify check in identity_mapping()

  * Backport mlx5e fix for tunnel offload (LP: #1921769)
- net/mlx5e: Check tunnel offload is required before setting SWP

  * Bcache bypasse writeback on caching device with fragmentation (LP: #1900438)
- bcache: consider the fragmentation when update the writeback rate

  * Fix implicit declaration warnings for kselftests/memfd test on newer
releases (LP: #1910323)
- selftests/memfd: Fix implicit declaration warnings

  * net/mlx5e: Add missing capability check for uplink follow (LP: #1921104)
- net/mlx5e: Add missing capability check for uplink follow

  * [UBUNUT 21.04] s390/vtime: fix increased steal time accounting
(LP: #1921498)
- s390/vtime: fix increased steal time accounting

  * Mute/Mic-mute LEDs are not work on HP 850/840/440 G8 Laptops (LP: #1920030)
- ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
- ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
- ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8

  * Focal update: v5.4.106 upstream stable release (LP: #1920246)
- uapi: nfnetlink_cthelper.h: fix userspace compilation error
- powerpc/pseries: Don't enforce MSI affinity with kdump
- ath9k: fix transmitting to stations in dynamic SMPS mode
- net: Fix gro aggregation for udp encaps with zero csum
- net: check if protocol extracted by virtio_net_hdr_set_proto is correct
- net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
- sh_eth: fix TRSCER mask for SH771x
- can: skb: can_skb_set_owner(): fix ref counting if socket was closed 
before
  setting skb ownership
- can: flexcan: assert FRZ bit in flexcan_chip_freeze()
- can: flexcan: enable RX FIFO after FRZ/HALT valid
- can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
- can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before
  entering Normal Mode
- tcp: add sanity tests to TCP_QUEUE_SEQ
- netfilter: nf_nat: undo erroneous tcp edemux lookup
- netfilter: x_tables: gpf inside xt_find_revision()
- selftests/bpf: No need to drop the packet when there is no geneve opt
- selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in 
test_verifier
- samples, bpf: Add missing munmap in xdpsock
- ibmvnic: always store valid MAC address
- mt76: dma: do not report truncated frames to mac80211
- powerpc/603: Fix protection of user pages mapped with PROT_NONE
- mount: fix mounting of detached mounts onto targets that reside on shared
  mounts
- cifs: return proper error code in statfs(2)
- Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
- net: enetc: don't overwrite the RSS indirection table when initializing
- net/mlx4_en: update moderation when config reset
- net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
- nexthop: Do not flush blackhole nexthops when loopback goes down
- net: sched: avoid duplicates in classes dump
- net: usb: qmi_wwan: allow qmimux add/del with master up
- netdevsim: init u64 stats for 32bit hardware
- cipso,calipso: resolve a number of problems with the DOI refcounts
- net: lapbether: Remove netif_start_queue / netif_stop_queue
- net: davicom: Fix regulator not turned off on failed probe
- net: davicom: Fix regulator not turned off on driver removal
- net: qrtr: fix error return code of qrtr_sendmsg()
- ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
- net: stmmac: stop each tx channel independently
- net: stmmac: fix watchdog timeout during suspend/resume stress test
- selftests: forwarding: Fix race condition in mirror installation
- perf traceevent: Ensure read cmdlines are null terminated.
- net: hns3: fix query vlan mask 

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-05-03 Thread AceLan Kao
** Changed in: linux-oem-5.6 (Ubuntu Focal)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-04-26 Thread Po-Hsu Lin
Note that F-5.8 is ok, however B-5.4 is not, please see bug 1926142

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-04-25 Thread Po-Hsu Lin
Build log clean on Focal 5.4.0-73.82

 Running 'sudo sh -c 'echo 1 > /proc/sys/net/ipv4/conf/all/accept_local''
 Running 'sudo make -C linux/tools/testing/selftests TARGETS=memfd run_tests'
 make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
 make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 INSTALL ./usr/include
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ -c -o common.o common.c
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ memfd_test.c common.o -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/memfd_test
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_mnt
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ fuse_test.c common.o -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_test
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 TAP version 13
 1..3
 # selftests: memfd: memfd_test
 # memfd: CREATE
 # memfd: BASIC
 # memfd: SEAL-WRITE
 # memfd: SEAL-FUTURE-WRITE
 # memfd: SEAL-SHRINK
 # memfd: SEAL-GROW
 # memfd: SEAL-RESIZE
 # memfd: SHARE-DUP
 # memfd: SHARE-MMAP
 # memfd: SHARE-OPEN
 # memfd: SHARE-FORK
 # memfd: SHARE-DUP (shared file-table)
 # memfd: SHARE-MMAP (shared file-table)
 # memfd: SHARE-OPEN (shared file-table)
 # memfd: SHARE-FORK (shared file-table)
 # memfd: DONE
 ok 1 selftests: memfd: memfd_test
 # selftests: memfd: run_fuse_test.sh
 # opening: ./mnt/memfd
 # fuse: DONE
 ok 2 selftests: memfd: run_fuse_test.sh
 # selftests: memfd: run_hugetlbfs_test.sh
 # ./run_hugetlbfs_test.sh: line 60: 25940 Aborted (core dumped) ./memfd_test 
hugetlbfs
 # opening: ./mnt/memfd
 # fuse: DONE
 ok 3 selftests: memfd: run_hugetlbfs_test.sh
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
 == Summary ===
 No failed cases reported


** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-04-25 Thread Po-Hsu Lin
Build log clean in Groovy 5.8.0-51.57
 Running 'sudo sh -c 'echo 1 > /proc/sys/net/ipv4/conf/all/accept_local''
 Running 'sudo make -C linux/tools/testing/selftests TARGETS=memfd run_tests'
 make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
 make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 INSTALL ./usr/include
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ memfd_test.c common.c -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/memfd_test
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ fuse_test.c common.c -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_test
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_mnt
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 TAP version 13
 1..3
 # selftests: memfd: memfd_test
 # memfd: CREATE
 # memfd: BASIC
 # memfd: SEAL-WRITE
 # memfd: SEAL-FUTURE-WRITE
 # memfd: CREATE
 # memfd: BASIC
 # memfd: SEAL-WRITE
 # memfd: SEAL-FUTURE-WRITE
 # memfd: SEAL-SHRINK
 # memfd: SEAL-GROW
 # memfd: SEAL-RESIZE
 # memfd: SHARE-DUP
 # memfd: SHARE-MMAP
 # memfd: SHARE-OPEN
 # memfd: SHARE-FORK
 # memfd: SHARE-DUP (shared file-table)
 # memfd: SHARE-MMAP (shared file-table)
 # memfd: SHARE-OPEN (shared file-table)
 # memfd: SHARE-FORK (shared file-table)
 # memfd: DONE
 ok 1 selftests: memfd: memfd_test
 # selftests: memfd: run_fuse_test.sh
 # opening: ./mnt/memfd
 # fuse: DONE
 ok 2 selftests: memfd: run_fuse_test.sh
 # selftests: memfd: run_hugetlbfs_test.sh
 # ./run_hugetlbfs_test.sh: line 60: 31300 Aborted (core dumped) ./memfd_test 
hugetlbfs
 # opening: ./mnt/memfd
 # fuse: DONE
 ok 3 selftests: memfd: run_hugetlbfs_test.sh
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
 == Summary ===
 No failed cases reported


** Tags removed: verification-needed-groovy
** Tags added: verification-done-groovy

** Tags added: 5.4 5.8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-04-20 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
groovy' to 'verification-done-groovy'. If the problem still exists,
change the tag 'verification-needed-groovy' to 'verification-failed-
groovy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-04-19 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
focal' to 'verification-done-focal'. If the problem still exists, change
the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-04-02 Thread Kelsey Skunberg
** Changed in: linux (Ubuntu Groovy)
   Status: In Progress => Fix Committed

** Changed in: linux (Ubuntu Focal)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-19 Thread Po-Hsu Lin
https://lists.ubuntu.com/archives/kernel-team/2021-March/118259.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-19 Thread Po-Hsu Lin
** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will
- print some warnings on F/G:
-   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
-   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
-   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
-   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
-   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
+ print some warnings:
+   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
+   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
+   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
+   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
+   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  It's harmless but fixing this we can make the test report easier to
  read.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
- This fix can be cherry-picked into F/G and compiled without any problem.
+ This fix can be cherry-picked into F/F-oem-5.6/G and compiled without any 
problem.
  Older kernel does not have this issue since they're missing some other
  commits.
  
  [Test Case]
  Build the memfd test in kselftests with:
-   sudo make TARGETS=memfd
+   sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
  This fix is just for fixing the test case compilation, so it's not
  affecting real kernel functionality.

** No longer affects: linux-oem-5.10 (Ubuntu)

** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will
  print some warnings:
-   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
-   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
-   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
-   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
-   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
+   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
+   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
+   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
+   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
+   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  It's harmless but fixing this we can make the test report easier to
  read.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
- This fix can be cherry-picked into F/F-oem-5.6/G and compiled without any 
problem.
- Older kernel does not have this issue since they're missing some other
- commits.
+ This fix can be cherry-picked into F/F-oem-5.6/G and compiled without
+ any problem. Older kernel does not have this issue since they're
+ missing some other commits.
  
  [Test Case]
- Build the memfd test in kselftests with:
-   sudo make TARGETS=memfd
+ Build the memfd test in tools/testing/selftests/ with:
+   sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
  This fix is just for fixing the test case compilation, so it's not
  affecting real kernel functionality.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-19 Thread Po-Hsu Lin
** No longer affects: linux-oem-5.6 (Ubuntu Groovy)

** No longer affects: linux-oem-5.6 (Ubuntu Hirsute)

** Also affects: linux-oem-5.10 (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: linux-oem-5.10 (Ubuntu)

** Changed in: linux (Ubuntu Focal)
   Status: New => In Progress

** Changed in: linux (Ubuntu Groovy)
   Status: New => In Progress

** Changed in: linux (Ubuntu Groovy)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu Focal)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Also affects: linux-oem-5.10 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-oem-5.6 (Ubuntu Focal)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux-oem-5.6 (Ubuntu Focal)
   Status: New => In Progress

** Changed in: linux-oem-5.10 (Ubuntu)
   Status: New => In Progress

** Changed in: linux-oem-5.10 (Ubuntu)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-19 Thread Po-Hsu Lin
** Also affects: linux-oem (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: linux-oem (Ubuntu)

** Also affects: linux-oem-5.6 (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: linux-oem (Ubuntu Focal)

** No longer affects: linux-oem (Ubuntu Groovy)

** No longer affects: linux-oem (Ubuntu Hirsute)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-19 Thread Po-Hsu Lin
** Description changed:

  [Impact]
- While debugging bug 1910277, I found that the test compilation will print 
some warnings:
-   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
-   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
-   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
-   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
-   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
+ While debugging bug 1910277, I found that the test compilation will
+ print some warnings on F/G:
+   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
+   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
+   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
+   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
+   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
- And there is a fix in upstream for this.
+ It's harmless but fixing this we can make the test report easier to
+ read.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
  This fix can be cherry-picked into F/G and compiled without any problem.
- Older kernel does not have this issue.
+ Older kernel does not have this issue since they're missing some other
+ commits.
  
  [Test Case]
  Build the memfd test in kselftests with:
-   sudo make TARGETS=memfd
+   sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
- This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, I think it's fine to ignore them for now.
+ This fix is just for fixing the test case compilation, so it's not
+ affecting real kernel functionality.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-18 Thread Po-Hsu Lin
** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will print 
some warnings:
    memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
    memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
    memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
    fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
    fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  And there is a fix in upstream for this.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
- This fix can be cherry-picked into F/G and compiled without any issue.
+ This fix can be cherry-picked into F/G and compiled without any problem.
+ Older kernel does not have this issue.
  
  [Test Case]
  Build the memfd test in kselftests with:
    sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
  This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, since we're not running this test on older releases I think it's fine 
to ignore them for now.

** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will print 
some warnings:
    memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
    memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
    memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
    fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
    fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  And there is a fix in upstream for this.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
  This fix can be cherry-picked into F/G and compiled without any problem.
  Older kernel does not have this issue.
  
  [Test Case]
  Build the memfd test in kselftests with:
    sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
- This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, since we're not running this test on older releases I think it's fine 
to ignore them for now.
+ This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, I think it's fine to ignore them for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-03-15 Thread Po-Hsu Lin
** Changed in: linux (Ubuntu Hirsute)
   Status: Incomplete => Fix Released

** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will print 
some warnings:
    memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
    memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
    memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
    fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
    fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  And there is a fix in upstream for this.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
- This fix can be cherry-picked into F/G/H and compiled without any issue.
+ This fix can be cherry-picked into F/G and compiled without any issue.
  
  [Test Case]
  Build the memfd test in kselftests with:
    sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
  This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, since we're not running this test on older releases I think it's fine 
to ignore them for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-01-06 Thread Po-Hsu Lin
** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will print 
some warnings:
    memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
    memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
    memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
    fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
    fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
+ 
+ And there is a fix in upstream for this.
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
  This fix can be cherry-picked into F/G/H and compiled without any issue.
  
  [Test Case]
  Build the memfd test in kselftests with:
    sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
  This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, since we're not running this test on older releases I think it's fine 
to ignore them for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-01-06 Thread Po-Hsu Lin
** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will print 
some warnings:
-   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
-   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’ 
-   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
-   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
-   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
+   memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
+   memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
+   memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
+   fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
+   fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
+ This fix can be cherry-picked into F/G/H and compiled without any issue.
+ 
  [Test Case]
  Build the memfd test in kselftests with:
-   sudo make TARGETS=memfd
+   sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
- This fix is just for fixing the test case compilation, it's beyond my 
imagination to see where the potential problems lies within.
+ This fix is just for fixing the test case compilation, if we need to fix it 
on older release X/B, this patch will cause compilation errors as they're 
missing some other vital commits, since we're not running this test on older 
releases I think it's fine to ignore them for now.

** Description changed:

  [Impact]
  While debugging bug 1910277, I found that the test compilation will print 
some warnings:
    memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
    memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
    memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
    fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
    fuse_test.c:261:7: warning: implicit declaration of function ‘open’;
  
  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
  
  This fix can be cherry-picked into F/G/H and compiled without any issue.
  
  [Test Case]
  Build the memfd test in kselftests with:
    sudo make TARGETS=memfd
  
  With this fix, these warnings will be gone.
  
  [Where problems could occur]
- This fix is just for fixing the test case compilation, if we need to fix it 
on older release X/B, this patch will cause compilation errors as they're 
missing some other vital commits, since we're not running this test on older 
releases I think it's fine to ignore them for now.
+ This fix is just for fixing the test case compilation, so it's not affecting 
real kernel functionality. If we need to fix it on older release X/B, this 
patch will cause compilation errors as they're missing some other vital 
commits, since we're not running this test on older releases I think it's fine 
to ignore them for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910323] Re: Fix implicit declaration warnings for kselftests/memfd test on newer releases

2021-01-06 Thread Po-Hsu Lin
** Summary changed:

- Fix implicit declaration warnings for kselftests/memfd
+ Fix implicit declaration warnings for kselftests/memfd test on newer releases

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs