public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] flash-images: Harden mount options of /boot
@ 2022-06-11  6:47 Peter Müller
  2022-06-13 13:38 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Müller @ 2022-06-11  6:47 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
 lfs/flash-images | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lfs/flash-images b/lfs/flash-images
index 3cf81fb6d..8a033c310 100644
--- a/lfs/flash-images
+++ b/lfs/flash-images
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  IPFire Team  <info(a)ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info(a)ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -167,7 +167,7 @@ endif
 
 	# Create /etc/fstab
 	printf "$(FSTAB_FMT)" "$$(blkid -o value -s UUID $(PART_BOOT))" "/boot" \
-		"auto" "defaults" 1 2 >  $(MNThdd)/etc/fstab
+		"auto" "defaults,nodev,noexec,nosuid" 1 2 >  $(MNThdd)/etc/fstab
 ifeq "$(EFI)" "1"
 	printf "$(FSTAB_FMT)" "$$(blkid -o value -s UUID $(PART_EFI))" "/boot/efi" \
 		"auto" "defaults" 1 2 >> $(MNThdd)/etc/fstab
-- 
2.35.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] flash-images: Harden mount options of /boot
  2022-06-11  6:47 [PATCH] flash-images: Harden mount options of /boot Peter Müller
@ 2022-06-13 13:38 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2022-06-13 13:38 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 11 Jun 2022, at 07:47, Peter Müller <peter.mueller(a)ipfire.org> wrote:
> 
> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
> ---
> lfs/flash-images | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lfs/flash-images b/lfs/flash-images
> index 3cf81fb6d..8a033c310 100644
> --- a/lfs/flash-images
> +++ b/lfs/flash-images
> @@ -1,7 +1,7 @@
> ###############################################################################
> #                                                                             #
> # IPFire.org - A linux based firewall                                         #
> -# Copyright (C) 2007-2021  IPFire Team  <info(a)ipfire.org>                     #
> +# Copyright (C) 2007-2022  IPFire Team  <info(a)ipfire.org>                     #
> #                                                                             #
> # This program is free software: you can redistribute it and/or modify        #
> # it under the terms of the GNU General Public License as published by        #
> @@ -167,7 +167,7 @@ endif
> 
> 	# Create /etc/fstab
> 	printf "$(FSTAB_FMT)" "$$(blkid -o value -s UUID $(PART_BOOT))" "/boot" \
> -		"auto" "defaults" 1 2 >  $(MNThdd)/etc/fstab
> +		"auto" "defaults,nodev,noexec,nosuid" 1 2 >  $(MNThdd)/etc/fstab
> ifeq "$(EFI)" "1"
> 	printf "$(FSTAB_FMT)" "$$(blkid -o value -s UUID $(PART_EFI))" "/boot/efi" \
> 		"auto" "defaults" 1 2 >> $(MNThdd)/etc/fstab
> -- 
> 2.35.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-13 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11  6:47 [PATCH] flash-images: Harden mount options of /boot Peter Müller
2022-06-13 13:38 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox