You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Avoid using a bunch of cfg flags and use of hardcoded auto.conf path #22
Currently, building with O=$something fails as auto.conf is search for in the source tree.
Also the arguments passed as cfg parsed from auto.conf can get bigger as the max argument length of linux.
Activity
kloenk commentedon Oct 10, 2020
For configs, that are y, do we want to pass --cfg=name="y" or do we just want --cfg=name
ojeda commentedon Oct 10, 2020
Good question. On the C side we have the
IS_BUILTIN/MODULE/REACHABLE/ENABLEDmacros as well as just#ifdefetc.I guess for ease of use we could provide each
CONFIG_Xvalue for both the value and the "empty" value, i.e.:y:CONFIG_XandCONFIG_X="y".m:CONFIG_XandCONFIG_X="m".We can forget about the
IS_REACHABLEfor the moment (one can always put the equivalent predicate if needed).For other kinds of values (e.g. integers and strings), I don't think we want to set the
CONFIG_X, but it does not hurt and would be consistent.Use @file to pass the --cfg flags to rustc (fixes #22)
ojeda commentedon Nov 28, 2020
This is handled by #32
Use @file to pass the --cfg flags to rustc (fixes #22)
Merge pull request #32 from Rust-for-Linux/rust-cfg-file
xdp, net: Fix use-after-free in bpf_xdp_link_release
drm/msm/a6xx: Allocate enough space for GMU registers
Input: elantech - fix stack out of bound access in elantech_change_re…
net-sysfs: add check for netdevice being present to speed_show
virtio: use virtio_device_ready() in virtio_device_restore()
KVM: selftests: Add tests in xen_shinfo_test to detect lock races
16 remaining items
fs/proc/task_mmu: check p->vec_buf for NULL
fs/notify: call exportfs_encode_fid with s_umount
fs/notify: call exportfs_encode_fid with s_umount
NFSD: free copynotify stateid in nfs4_free_ol_stateid()
mptcp: pm: in-kernel: always mark signal+subflow endp as used
hfsplus: fix volume corruption issue for generic/498
mptcp: pm: in-kernel: always mark signal+subflow endp as used
hfsplus: fix volume corruption issue for generic/498
hfsplus: fix volume corruption issue for generic/498
mptcp: pm: in-kernel: always mark signal+subflow endp as used
mptcp: pm: in-kernel: always mark signal+subflow endp as used
apparmor: Fix string overrun due to missing termination
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
drm/imagination: Fix double call to drm_sched_entity_fini()
eventpoll: pin files while checking reverse paths