Skip to content

RFC autofs: fix autofs_v5_packet dlivery in compat mode

Stanislav Kinsburskiy autofs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2autofs: set compat flag on sbi when daemon uses 32bit addressationfs/autofs4/autofs_i.h fs/autofs4/dev-ioctl.c fs/autofs4/inode.c+9 -16 replies
2/2autofs: sent 32-bit sized packet for 32-bit processfs/autofs4/waitq.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] autofs: fix autofs_v5_packet dlivery in compat mode

The problem is that in compat mode struct autofs_v5_packet has to have different size (i.e. 4 bytes less).

This is RFC because:
1) This issue is hidden, because autofs pipe has O_DIRECT and the rest of the epacket is truncated when read.
2) X86 arch doesn't have is_compat_task() helper
3) It's now clear, what to do if "pgrp" option is specified.

The following series implements...

---

Stanislav Kinsburskiy (2):
autofs: set compat flag on sbi when daemon uses 32bit addressation
autofs: sent 32-bit sized packet for 32-bit process

 fs/autofs4/autofs_i.h  |    3 +++
 fs/autofs4/dev-ioctl.c |    3 +++
 fs/autofs4/inode.c     |    4 +++-
 fs/autofs4/waitq.c     |    5 +++++
 4 files changed, 14 insertions(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe autofs" in