Subject: bug#77232: [PATCH] Allow also to get attributes of the terminal line

From: "Dr. Werner Fink" <[email-masked]>
Date: Tue, 25 Mar 2025 16:24:22 +0100

On 2025/03/25 16:06:39 +0100, Philipp Stephani wrote:
> >> #endif
> >> 
> >> +/* https://github.com/torvalds/linux/commit/9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 */
> >> +#ifndef MAP_DROPPABLE
> >> +#define MAP_DROPPABLE 0x0
> 
> Shouldn't this be 0x08? At least that's how it's defined in mman.h.

If the kernel does not know (means header does not know) we should not
set an unknown flags as this will fail also (IMHO).
Only if older header files are used in combination with newer kernel
we would see the current behaviour.

Werner
-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr