linuxkernelnewbies | Unsorted

Telegram-канал linuxkernelnewbies - Linux Kernel Brickers

2623

Subscribe to a channel

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

../security/apparmor/lsm.c:767:13: error: array type 'struct sk_security_struct[1]' is not assignable
SK_CTX(sk) = ctx;
~~~~~~ ^
../security/apparmor/lsm.c:777:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sk);
^ ~~~~~~
../security/apparmor/lsm.c:779:13: error: array type 'struct sk_security_struct[1]' is not assignable
SK_CTX(sk) = NULL;
~~~~~~ ^
../security/apparmor/lsm.c:791:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'const struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sk);
^ ~~~~~~
../security/apparmor/lsm.c:792:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *new = SK_CTX(newsk);
^ ~~~~~~~~~
../security/apparmor/lsm.c:848:21: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sock->sk);
^ ~~~~~~~~~~~~
../security/apparmor/lsm.c:1033:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sk);
^ ~~~~~~
../security/apparmor/lsm.c:1046:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sk);
^ ~~~~~~
../security/apparmor/lsm.c:1130:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sk);
^ ~~~~~~
../security/apparmor/lsm.c:1140:20: error: incompatible pointer types initializing 'struct aa_sk_ctx *' with an expression of type 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
struct aa_sk_ctx *ctx = SK_CTX(sk);
^ ~~~~~~
../security/apparmor/lsm.c:1632:6: error: incompatible pointer types assigning to 'struct aa_sk_ctx *' from 'struct sk_security_struct[1]' [-Werror,-Wincompatible-pointer-types]
ctx = SK_CTX(sk);
^ ~~~~~~

Читать полностью…

Linux Kernel Brickers

I need memcg for docker

Читать полностью…

Linux Kernel Brickers

then disable config_memcg, maybe there are some commit causing it either from mglru or slmk things

Читать полностью…

Linux Kernel Brickers

the changes are already present

Читать полностью…

Linux Kernel Brickers

enabled CONFIG_MEMCG

Читать полностью…

Linux Kernel Brickers

../mm/vmscan.c:237:14: error: use of undeclared identifier 'shrinker_rwsem'
down_write(&shrinker_rwsem);
^
../mm/vmscan.c:254:12: error: use of undeclared identifier 'shrinker_rwsem'
up_write(&shrinker_rwsem);
^
../mm/vmscan.c:264:14: error: use of undeclared identifier 'shrinker_rwsem'
down_write(&shrinker_rwsem);
^
../mm/vmscan.c:266:12: error: use of undeclared identifier 'shrinker_rwsem'
up_write(&shrinker_rwsem);
^
../mm/vmscan.c:647:26: error: use of undeclared identifier 'shrinker_rwsem'
if (!down_read_trylock(&shrinker_rwsem))
^
../mm/vmscan.c:702:27: error: use of undeclared identifier 'shrinker_rwsem'
if (rwsem_is_contended(&shrinker_rwsem)) {
^
../mm/vmscan.c:708:11: error: use of undeclared identifier 'shrinker_rwsem'
up_read(&shrinker_rwsem);
^

Читать полностью…

Linux Kernel Brickers

figured I should check, is there a certain toolchain I'm supposed to use for building Samsung kernels? I want to add it to my build tree for a recovery image, but... I'm not sure how to implement the opensource package they had on their site.

Читать полностью…

Linux Kernel Brickers

Bro, can you send me that commit for a reference ?

Читать полностью…

Linux Kernel Brickers

https://katb.in/yadicixojud

Читать полностью…

Linux Kernel Brickers

That was the reason for the commit

Читать полностью…

Linux Kernel Brickers

Also is it possible to change from enforcing to permissive in kernel

Читать полностью…

Linux Kernel Brickers

Since it's a secondary device

Читать полностью…

Linux Kernel Brickers

Because I am going to try lindroid

Читать полностью…

Linux Kernel Brickers

don't...just leave it...you know it is there for you...it is a good change...no one normally revert sultan's commits unless sultan himself revert them

Читать полностью…

Linux Kernel Brickers

this is after enabling APPARMOR

Читать полностью…

Linux Kernel Brickers

And some lindroid stuff

Читать полностью…

Linux Kernel Brickers

I just revert the chnages

Читать полностью…

Linux Kernel Brickers

are you telling me to revert changes

Читать полностью…

Linux Kernel Brickers

https://github.com/ALKALiKong-ROMProject/kernel_xiaomi_lisa-oss/commit/b0fe17d71eda4bf55e9c87f76833417c619d1099

Читать полностью…

Linux Kernel Brickers

btw compiling android kernel

Читать полностью…

Linux Kernel Brickers

https://github.com/LineageOS/scripts/blob/master/best-caf-kernel/best-caf-kernel.py

Читать полностью…

Linux Kernel Brickers

I'm working on a kernel source. That source is made for a different ui, not the stock one.

Читать полностью…

Linux Kernel Brickers

hi guys , where can I find the NFSv4 Server source code ? can anyone tell me , please ?

Читать полностью…

Linux Kernel Brickers

That commit was made because sultan removed lowmemorykiller (replacing it with simple LMK) and the system said something is wrong.

Читать полностью…

Linux Kernel Brickers

So the error is there is internal problem with your device

Читать полностью…

Linux Kernel Brickers

okay...do whatever you like...i recommend starting with a clean kernel because gr tweaks kernel for android performance

Читать полностью…

Linux Kernel Brickers

Anyways, safetynet isn't required

Читать полностью…

Linux Kernel Brickers

Ya, but that's not helping

Читать полностью…

Linux Kernel Brickers

So only I revert the change

Читать полностью…
Subscribe to a channel