Editing Fedora28 kernel hardening, general installation, rpm building

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:




<br />This a post of a sum of generalized ideas for kernel hardening, rpm building, and kernel building on CUH-1215A possibly other CUH-12XX
This a post of a sum of generalized ideas for kernel hardening, rpm building, and kernel building on CUH-1215A possibly other CUH-12XX
<br />this information is 100% untested to a fully working degree, the RPMs are functional there are other issues for me to load bzImage either  
this information is 100% untested to a fully working degree, the RPMs are functional there are other issues for me to load bzImage either  
<br />with an embedded initramfs.img direclty embedded in the kernel as a cpio.gz and confusion in trying to modify main.c in the "Payload"  
with an embedded initramfs.img direclty embedded in the kernel as a cpio.gz and confusion in trying to modify main.c in the "Payload"  
<br />(PS4-Linux-Loader) here to point to the right files to boot Fedora 28,
(PS4-Linux-Loader) here to point to the right files to boot Fedora 28,


https://github.com/valentinbreiz/PS4-Linux-Loader/blob/master/source/main.c#L158
https://github.com/valentinbreiz/PS4-Linux-Loader/blob/master/source/main.c#L158
Line 14: Line 14:




* experimental RPMs, including source RPM for the kernel itself,
experimental RPMs, including source RPM for the kernel itself,


https://drive.google.com/drive/u/0/folders/1L2oykE70DgQqHPf0F-6-NSgiTkOhCZfP
https://drive.google.com/drive/u/0/folders/1L2oykE70DgQqHPf0F-6-NSgiTkOhCZfP
Line 30: Line 30:




<br />these are non-working RPMs as untested to fully boot, I have posted a working PS4-Linux-Loader from  
these are non-working RPMs as untested to fully boot, I have posted a working PS4-Linux-Loader from  
<br />here tried to modify it for 720p changing the resolution from 1920x1080 to 1280x720 for my PS4 which CUH-1215A
here tried to modify it for 720p changing the resolution from 1920x1080 to 1280x720 for my PS4 which CUH-1215A
<br />the screen goes to a speckled black and white like loss of reception pressing CRTL-ALT-F1 or CRTL-ALT-F2, F3, F4  
the screen goes to a speckled black and white like loss of reception pressing CRTL-ALT-F1 or CRTL-ALT-F2, F3, F4  
<br />switching ttys shows the login screen,
switching ttys shows the login screen,
<br />other issues, with vsync from the tty i tried to work around by installing "gdm", service gdm restart, then switching  
other issues, with vsync from the tty i tried to work around by installing "gdm", service gdm restart, then switching  
<br />to a different tty seemed to bring the vsync back
to a different tty seemed to bring the vsync back


<br />also enabled in the RPMs are SMAC, apparmor, aside from default SELinux, SLAB memory protection, packect injection support
also enabled in the RPMs are SMAC, apparmor, aside from default SELinux, SLAB memory protection, packect injection support
<br />via a kernel module, overflow protection from common exploits  
via a kernel module, overflow protection from common exploits  
<br />-> in "Security in the main 'make menuconfig'
-> in "Security in the main 'make menuconfig'








<br />VFIO, PCI-PASS  no-IOMMU disabled
VFIO, PCI-PASS  no-IOMMU disabled
<br />KVM, IOMMU v2
KVM, IOMMU v2
<br />IBM Calargy,     (not by default)
IBM Calargy,
<br />AMD IOMMU GART BASED,
AMD IOMMU GART BASED,
<br />XEN
XEN
<br />Hyper-V
Hyper-V
<br />filesystem support for NTFS, HFS,
filesystem support for NTFS, HFS,
<br />iPhone Ethernet tethering via USB as a network device
iPhone Ethernet tethering via USB as a network device
<br />xHCI USB 3.0
xHCI USB 3.0
<br />USB-c type connectors
USB-c type connectors
<br />GPUs are changed from a max of 64 to 256,
GPUs are changed from a max of 64 to 256,
<br />there is the max limit on CPUs, in the kernel possibly for a node type system,
there is the max limit on CPUs, in the kernel possibly for a node type system,
<br />wifi mesh networking,  
wifi mesh networking,  
<br />a whole host of other tweaks.
a whole host of other tweaks.




Line 86: Line 86:




<br />void usbthing()
void usbthing()
<br />{
<br />{
                                                                
                                                                
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)