From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932185AbdIGRiU (ORCPT ); Thu, 7 Sep 2017 13:38:20 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:35198 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755771AbdIGRiR (ORCPT ); Thu, 7 Sep 2017 13:38:17 -0400 X-Google-Smtp-Source: AOwi7QDNuzObvfUc2vYrqMnMAXi0z3Nsn3LwFh3wmQEyUnDpyzNN4f3k+WXZI4NEHPWQHRas7IZdbHeJdgzHNgI1pWI= MIME-Version: 1.0 From: Kiran T Date: Thu, 7 Sep 2017 10:38:16 -0700 Message-ID: Subject: Accessing userspace created persistent eBPF maps from kernel bpf restricted C To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, The samples and test cases have examples showing how user space programs can pin maps and get pinned maps as FDs. However, how would one access a user-space created pinned map from kernel space, without having to statically have a 'maps' section defined (and depend on the elf loader)? Thanks, Kiran