lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ualbkbj75ulsbwbjuphntw7ztb45r2q7iysvxvklmyv5ndnvh7@zxr56mv33vyv>
Date: Wed, 10 Jan 2024 16:19:17 -0500
From: Kent Overstreet <kent.overstreet@...ux.dev>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Andy Lutomirski <luto@...capital.net>, 
	Boqun Feng <boqun.feng@...il.com>, Huacai Chen <chenhuacai@...nel.org>, 
	Ingo Molnar <mingo@...hat.com>, Kees Cook <keescook@...omium.org>, 
	Paul McKenney <paulmck@...nel.org>, Peter Zijlstra <peterz@...radead.org>, 
	Stephen Rothwell <sfr@...b.auug.org.au>, Thomas Gleixner <tglx@...utronix.de>, 
	Waiman Long <longman@...hat.com>, WANG Xuerui <kernel@...0n.name>, Will Deacon <will@...nel.org>, 
	Will Drewry <wad@...omium.org>, Suren Baghdasaryan <surenb@...gle.com>
Subject: [GIT PULL] header cleanups for 6.8

Hi Linus, here's some header cleanups, as discussed.

Nothing drastic has changed since it was mailed out, wanted to give this
plenty of soak time in -next.

There were two merge conflicts in arch headers in next; they looked
pretty trivial. But now I'm wondering - do we have standard
tools/process for recording what the merge conflict and resolution were?
I'm sure we must.

The following changes since commit a39b6ac3781d46ba18193c9dbb2110f31e9bffe9:

  Linux 6.7-rc5 (2023-12-10 14:33:40 -0800)

are available in the Git repository at:

  https://evilpiepirate.org/git/bcachefs.git tags/header_cleanup-2024-01-10

for you to fetch changes up to 1e2f2d31997a9496f99e2b43255d6a48b06fbcc2:

  Kill sched.h dependency on rcupdate.h (2023-12-27 11:50:20 -0500)

----------------------------------------------------------------
header cleanups for 6.8

The goal is to get sched.h down to a type only header, so the main thing
happening in this patchset is splitting out various _types.h headers and
dependency fixups, as well as moving some things out of sched.h to
better locations.

This is prep work for the memory allocation profiling patchset which
adds new sched.h interdepencencies.

Testing - it's been in -next, and fixes from pretty much all
architectures have percolated in - nothing major.

----------------------------------------------------------------
Kent Overstreet (49):
      drivers/gpu/drm/i915/i915_memcpy.c: fix missing includes
      media: vidtv: fix missing include
      x86: fix missing includes/forward declarations
      m68k: Fix missing include
      microblaze: add missing forward declaration
      task_stack.h: add missing include
      nsproxy.h: add missing include
      kernel/fork.c: add missing include
      kmsan: add missing types.h dependency
      time_namespace.h: fix missing include
      PM: fix missing rculist.h dependency
      torture: add missing dependency on hrtimer.h
      nodemask: Split out include/linux/nodemask_types.h
      prandom: Remove unused include
      timekeeping: Kill percpu.h dependency
      arm64: Fix circular header dependency
      kernel/numa.c: Move logging out of numa.h
      sched.h: Move (spin|rwlock)_needbreak() to spinlock.h
      ktime.h: move ktime_t to types.h
      hrtimers: Split out hrtimer_types.h
      locking/mutex: split out mutex_types.h
      posix-cpu-timers: Split out posix-timers_types.h
      locking/seqlock: Split out seqlock_types.h
      pid: Split out pid_types.h
      sched.h: move pid helpers to pid.h
      plist: Split out plist_types.h
      rslib: kill bogus dependency on list.h
      timerqueue: Split out timerqueue_types.h
      signal: Kill bogus dependency on list.h
      timers: Split out timer_types.h
      workqueue: Split out workqueue_types.h
      shm: Slim down dependencies
      ipc: Kill bogus dependency on spinlock.h
      Split out irqflags_types.h
      mm_types_task.h: Trim dependencies
      syscall_user_dispatch.h: split out *_types.h
      x86/signal: kill dependency on time.h
      uapi/linux/resource.h: fix include
      refcount: Split out refcount_types.h
      seccomp: Split out seccomp_types.h
      uidgid: Split out uidgid_types.h
      sem: Split out sem_types.h
      lockdep: move held_lock to lockdep_types.h
      restart_block: Trim includes
      rseq: Split out rseq.h from sched.h
      preempt.h: Kill dependency on list.h
      Kill unnecessary kernel.h include
      kill unnecessary thread_info.h include
      Kill sched.h dependency on rcupdate.h

Matthew Wilcox (Oracle) (1):
      wait: Remove uapi header file from main header file

Randy Dunlap (1):
      LoongArch: signal.c: add header file to fix build error

 arch/arm64/include/asm/spectre.h             |   4 +-
 arch/arm64/kernel/ptrace.c                   |   1 +
 arch/loongarch/kernel/signal.c               |   1 +
 arch/m68k/include/asm/processor.h            |   1 +
 arch/microblaze/include/asm/pgtable.h        |   1 +
 arch/parisc/mm/init.c                        |   1 +
 arch/powerpc/kernel/interrupt.c              |   1 +
 arch/powerpc/kvm/book3s_64_vio.c             |   1 +
 arch/s390/kernel/signal.c                    |   1 +
 arch/x86/include/asm/current.h               |   1 +
 arch/x86/include/asm/debugreg.h              |   1 +
 arch/x86/include/asm/fpu/types.h             |   2 +
 arch/x86/include/asm/paravirt.h              |   4 +
 arch/x86/include/asm/paravirt_types.h        |   2 +
 arch/x86/include/asm/percpu.h                |   2 +-
 arch/x86/include/asm/preempt.h               |   1 -
 arch/x86/include/uapi/asm/signal.h           |   1 -
 arch/x86/kernel/fpu/bugs.c                   |   1 +
 arch/x86/kernel/signal.c                     |   1 +
 arch/x86/lib/cache-smp.c                     |   1 +
 arch/x86/um/sysrq_64.c                       |   1 +
 drivers/base/power/runtime.c                 |   1 +
 drivers/gpu/drm/i915/i915_memcpy.c           |   2 +
 drivers/gpu/drm/lima/lima_ctx.c              |   1 +
 drivers/irqchip/irq-gic-v4.c                 |   1 +
 drivers/media/test-drivers/vidtv/vidtv_pes.c |   1 +
 drivers/target/target_core_xcopy.c           |   1 +
 fs/exec.c                                    |   1 +
 include/linux/audit.h                        |   1 +
 include/linux/dma-fence.h                    |   1 +
 include/linux/hrtimer.h                      |  46 +---
 include/linux/hrtimer_types.h                |  50 +++++
 include/linux/ipc.h                          |   2 +-
 include/linux/irqflags.h                     |  14 +-
 include/linux/irqflags_types.h               |  22 ++
 include/linux/kmsan_types.h                  |   2 +
 include/linux/ktime.h                        |   8 +-
 include/linux/lockdep.h                      |  57 -----
 include/linux/lockdep_types.h                |  57 +++++
 include/linux/mm_types_task.h                |   5 +-
 include/linux/mutex.h                        |  52 +----
 include/linux/mutex_types.h                  |  71 ++++++
 include/linux/nodemask.h                     |   2 +-
 include/linux/nodemask_types.h               |  10 +
 include/linux/nsproxy.h                      |   1 +
 include/linux/numa.h                         |  19 +-
 include/linux/pid.h                          | 140 ++++++++++--
 include/linux/pid_types.h                    |  16 ++
 include/linux/plist.h                        |  12 +-
 include/linux/plist_types.h                  |  17 ++
 include/linux/posix-timers.h                 |  69 +-----
 include/linux/posix-timers_types.h           |  80 +++++++
 include/linux/prandom.h                      |   1 -
 include/linux/preempt.h                      |   6 +-
 include/linux/rcupdate_wait.h                |  10 +
 include/linux/refcount.h                     |  13 +-
 include/linux/refcount_types.h               |  19 ++
 include/linux/restart_block.h                |   2 +-
 include/linux/resume_user_mode.h             |   1 +
 include/linux/rhashtable-types.h             |   2 +-
 include/linux/rseq.h                         | 131 +++++++++++
 include/linux/rslib.h                        |   1 -
 include/linux/sched.h                        | 325 +++------------------------
 include/linux/sched/signal.h                 |   1 +
 include/linux/sched/task.h                   |   2 +
 include/linux/sched/task_stack.h             |   1 +
 include/linux/seccomp.h                      |  24 +-
 include/linux/seccomp_types.h                |  35 +++
 include/linux/sem.h                          |  10 +-
 include/linux/sem_types.h                    |  13 ++
 include/linux/seqlock.h                      |  79 +------
 include/linux/seqlock_types.h                |  93 ++++++++
 include/linux/shm.h                          |   4 +-
 include/linux/signal.h                       |   1 +
 include/linux/signal_types.h                 |   2 +-
 include/linux/spinlock.h                     |  31 +++
 include/linux/syscall_user_dispatch.h        |   9 +-
 include/linux/syscall_user_dispatch_types.h  |  22 ++
 include/linux/time_namespace.h               |   3 +
 include/linux/timekeeping.h                  |   1 +
 include/linux/timer.h                        |  16 +-
 include/linux/timer_types.h                  |  23 ++
 include/linux/timerqueue.h                   |  13 +-
 include/linux/timerqueue_types.h             |  17 ++
 include/linux/torture.h                      |   1 +
 include/linux/types.h                        |   3 +
 include/linux/uidgid.h                       |  11 +-
 include/linux/uidgid_types.h                 |  15 ++
 include/linux/wait.h                         |   1 -
 include/linux/workqueue.h                    |  16 +-
 include/linux/workqueue_types.h              |  25 +++
 include/uapi/linux/resource.h                |   2 +-
 init/init_task.c                             |   1 +
 ipc/shm.c                                    |   1 +
 ipc/util.h                                   |   1 +
 kernel/Makefile                              |   1 +
 kernel/async.c                               |   5 +-
 kernel/bpf/hashtab.c                         |   1 +
 kernel/exit.c                                |   4 +-
 kernel/fork.c                                |   2 +
 kernel/futex/core.c                          |   1 +
 kernel/futex/requeue.c                       |   1 +
 kernel/futex/waitwake.c                      |   1 +
 kernel/locking/spinlock_debug.c              |   1 +
 kernel/numa.c                                |  26 +++
 kernel/pid_namespace.c                       |   1 +
 kernel/sched/core.c                          |   1 +
 lib/test_rhashtable.c                        |   1 +
 mm/filemap.c                                 |   1 +
 mm/khugepaged.c                              |   1 +
 mm/shmem.c                                   |   1 +
 mm/swapfile.c                                |   1 +
 net/ipv4/fib_trie.c                          |   1 +
 net/netfilter/ipset/ip_set_bitmap_gen.h      |   2 +
 net/netfilter/ipset/ip_set_hash_gen.h        |   1 +
 net/netfilter/ipvs/ip_vs_conn.c              |   1 +
 net/netfilter/ipvs/ip_vs_est.c               |   1 +
 security/selinux/hooks.c                     |   1 +
 security/smack/smack_lsm.c                   |   1 +
 119 files changed, 1063 insertions(+), 775 deletions(-)
 create mode 100644 include/linux/hrtimer_types.h
 create mode 100644 include/linux/irqflags_types.h
 create mode 100644 include/linux/mutex_types.h
 create mode 100644 include/linux/nodemask_types.h
 create mode 100644 include/linux/pid_types.h
 create mode 100644 include/linux/plist_types.h
 create mode 100644 include/linux/posix-timers_types.h
 create mode 100644 include/linux/refcount_types.h
 create mode 100644 include/linux/rseq.h
 create mode 100644 include/linux/seccomp_types.h
 create mode 100644 include/linux/sem_types.h
 create mode 100644 include/linux/seqlock_types.h
 create mode 100644 include/linux/syscall_user_dispatch_types.h
 create mode 100644 include/linux/timer_types.h
 create mode 100644 include/linux/timerqueue_types.h
 create mode 100644 include/linux/uidgid_types.h
 create mode 100644 include/linux/workqueue_types.h
 create mode 100644 kernel/numa.c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ