Re: debugfs ACL

2019-01-07 Thread Dan HorĂ¡k
On Mon, 07 Jan 2019 14:36:16 - "Mikhail Gavrilov" wrote: > I found that here blame patch 201 efi-lockdown.patch. > I was build kernel with fedpkg without this patch and problem was > gone. > > # cat /sys/kernel/debug/dri/0/amdgpu_gca_config | xxd -e - > : 0003 0004 0004

Re: debugfs ACL

2019-01-07 Thread Mikhail Gavrilov
I found that here blame patch 201 efi-lockdown.patch. I was build kernel with fedpkg without this patch and problem was gone. # cat /sys/kernel/debug/dri/0/amdgpu_gca_config | xxd -e - : 0003 0004 0004 0010 0010: 0001 0004 0010 0100

Re: debugfs ACL

2019-01-01 Thread Mikhail Gavrilov
I builded vanila kernel by this instruction: https://fedoraproject.org/wiki/Building_a_custom_kernel On vanila kernel I am able access to files which are restricted on Fedora kernel. So I think some Fedora patch is culprit here. Is anyone here who has these patches added? # cat

Re: debugfs ACL

2018-12-28 Thread stan
On Fri, 28 Dec 2018 15:43:03 +0500 Mikhail Gavrilov wrote: > # ls -nZ amdgpu_gca_config > -r--r--r--. 1 0 0 system_u:object_r:debugfs_t:s0 0 Dec 28 14:18 > amdgpu_gca_config What are the permissions on the parent directory? Here's mine: drwxr-xr-x. 9 0 0 system_u:object_r:debugfs_t:s0 0 Dec 28

Re: debugfs ACL

2018-12-28 Thread Mikhail Gavrilov
> I have no idea. My firmware has SecureBoot: enabled/disabled. > > journalctl -k -b 0 | grep secureboot > > will show you what Linux kernel detected. > $ journalctl -k -b 0 | grep secureboot Dec 28 14:18:45 localhost.localdomain kernel: secureboot: Secure boot disabled Oh, it looks like

Re: debugfs ACL

2018-12-28 Thread Dominik 'Rathann' Mierzejewski
On Friday, 28 December 2018 at 11:52, Mikhail Gavrilov wrote: > > Do you have SecureBoot enabled? > I use "Other OS" setting. This is considered as disabling SecureBoot? > If No I don't having another option in setup for completely disabling > SecureBoot. I have no idea. My firmware has

Re: debugfs ACL

2018-12-28 Thread Mikhail Gavrilov
> Do you have SecureBoot enabled? I use "Other OS" setting. This is considered as disabling SecureBoot? If No I don't having another option in setup for completely disabling SecureBoot. ___ devel mailing list -- devel@lists.fedoraproject.org To

Re: debugfs ACL

2018-12-28 Thread Mikhail Gavrilov
> No answer, just some further things to look at or try. I can use xxd -e > on files in that directory without problem, though I don't have the > file you are looking for since I use radeon. > On my system everything in there is 444 permissions, except directories. > What does your system show

Re: debugfs ACL

2018-12-27 Thread Dominik 'Rathann' Mierzejewski
On Thursday, 27 December 2018 at 09:51, Mikhail Gavrilov wrote: > Hi folks. > Why I cannot read content of some debugfs files which are should be readable. > https://lists.freedesktop.org/archives/amd-gfx/2018-December/029918.html > > [mikhail@localhost ~]$ sudo bash > [sudo] password for

Re: debugfs ACL

2018-12-27 Thread stan
On Thu, 27 Dec 2018 13:51:19 +0500 Mikhail Gavrilov wrote: > Hi folks. > Why I cannot read content of some debugfs files which are should be > readable. > https://lists.freedesktop.org/archives/amd-gfx/2018-December/029918.html > > [mikhail@localhost ~]$ sudo bash > [sudo] password for mikhail:

debugfs ACL

2018-12-27 Thread Mikhail Gavrilov
Hi folks. Why I cannot read content of some debugfs files which are should be readable. https://lists.freedesktop.org/archives/amd-gfx/2018-December/029918.html [mikhail@localhost ~]$ sudo bash [sudo] password for mikhail: [root@localhost mikhail]# cd /sys/kernel/debug/dri/0 [root@localhost 0]#