[PATCH] Stackgap

From: Suleiman Souhlal (ssouhlal_at_FreeBSD.org)
Date: 05/28/05

  • Next message: Bruce Evans: "Re: Modifying file access time upon exec..."
    To: arch@FreeBSD.org
    Date: Fri, 27 May 2005 22:35:03 -0400
    
    

    Hi!

    You can find an implementation of stackgap from OpenBSD at http://
    people.freebsd.org/~ssouhlal/testing/stackgap-20050527.diff

    You can control the range of the random stack gap with the
    kern.stackgap_random sysctl. A value of 0 disables it. Otherwise, it
    has to be a power of 2 and not too large. The default value is 64K.

    I've only had the chance to test this on i386. Could anyone test it
    on other architectures as well?

    Any comments/objections?

    --
    Suleiman Souhlal     | ssouhlal@vt.edu
    The FreeBSD Project  | ssouhlal@FreeBSD.org
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Bruce Evans: "Re: Modifying file access time upon exec..."

    Relevant Pages

    • Cx states missing after upgrade -- Was: Re: HEADS UP: Release schedule for 2006
      ... Guessing that's a formatting difference, rather then 6.x not recognizing the states (sysctl hw.acpi.cpu.cx_supported confirms 4 states) ... think it gives you more control over the processor frequency. ... battery life and to make suspend really ut power drain. ... This seems to coincide with the new ACPI code import. ...
      (freebsd-stable)
    • Re: HEADS UP: Release schedule for 2006
      ... Guessing that's a formatting difference, rather then 6.x not recognizing the states (sysctl hw.acpi.cpu.cx_supported confirms 4 states) ... think it gives you more control over the processor frequency. ... I need to run without USB to get really good ... battery life and to make suspend really ut power drain. ...
      (freebsd-stable)
    • Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pm
      ... Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. ... # CPU frequency control ... # PCI Ethernet NICs that use the common MII bus controller code. ... # The `bpf' device enables the Berkeley Packet Filter. ...
      (freebsd-stable)
    • Re: disable-cap-mlock
      ... Some form of control over changing the sysctl settings (beyond just the ... I'd suggest adding a new capability ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kern.randompid
      ... >> The kern.randompid sysctl is not a boolean flag, ... >> of the random value that will be added to each newly created pid. ... It's a slight generalization of the algorithm which OpenBSD use (they ... the sysctl to whatever value they use, ...
      (FreeBSD-Security)