From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66150C432C1 for ; Tue, 24 Sep 2019 13:33:19 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26FE9207FD for ; Tue, 24 Sep 2019 13:33:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="iX84QHlA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="xTONUqp8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26FE9207FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.2) (envelope-from ) id 1iCkwD-0002SO-BW; Tue, 24 Sep 2019 09:33:05 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1iCkwB-0002SI-DQ for kernelnewbies@kernelnewbies.org; Tue, 24 Sep 2019 09:33:03 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 30773541; Tue, 24 Sep 2019 09:33:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 24 Sep 2019 09:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=M6auR2Ot/mcWacoY3/RLK3xpebP ZU7yToT+wDD3LkWE=; b=iX84QHlAZpiaFbOGz7jKJ3v5b82QO3LxSILTRgB1jpy WZuhGYzGC+izu95sNfPJq2dOc/tQsX/K1DxwWfEEQPBKMvaN9q4O7q2ZKm9VntRp ZTlVB5V9/WM4yrECpp9a+WoKylgMCazHyCv4JYZzhLNVWNP7y/QrnVp1uAOM5jWI 3j9CCbnl10yZJ0UAnffu6DVRZhWVGBgI+gseIZSRXt3A4m/Y5Ko+BwmJuJBHm7tS JXQKZKNTKviAMp8yselOiet45Wne+cOO/hNKNR1BER42rjtWnMeydYAJt2iOmkn9 ROssWXNU9XkResfgsmU0OdHZy9hjVvaCa/0Yjbx+mCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=M6auR2 Ot/mcWacoY3/RLK3xpebPZU7yToT+wDD3LkWE=; b=xTONUqp8OgMRYvjXvh3Hlu QyUWQCUvl+kTw50uTzW8Vk7VR14Ra2FJq3am4WztsFGV24rqP4yDkDtw27RkINRb WB0aUrJiN0pi4ouZ9Oli/9l7bpEcvU28IyL8nuNiN2bzlRAzM2PJ/UqCbeVpskND y67LaakpBQgjt0MdDB6zMqd4Y715tKR9Nv5nKojUdo5mF0bMrFaDeUPe5WkdS06G p++QEVv1WwSXHmS9arzH7EgDEnBw8mSG7AUOX2y6Qj1G3wn/H4zjYiHNU7ZGQTey WOZpZjiGHqcjosBDx9SBo+I5UIgOePUtqW7To6CmiuP4wZKoMs0+lTm1DuTjFFig == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfedtgdeigecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucffohhmrghinheplhhinhhugihjoh hurhhnrghlrdgtohhmnecukfhppeektddruddvjedrudejfedrvdehtdenucfrrghrrghm pehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuih iivgeptd X-ME-Proxy: Received: from localhost (a80-127-173-250.adsl.xs4all.nl [80.127.173.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 2709D80065; Tue, 24 Sep 2019 09:33:00 -0400 (EDT) Date: Tue, 24 Sep 2019 15:32:59 +0200 From: Greg KH To: Saket Sinha Subject: Re: Fwd: Need Help regarding Reading and Writting to a file from kernel function file Message-ID: <20190924133259.GD618537@kroah.com> References: <233594.1569314939@turing-police> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Cc: Sahibzada Irfanullah , Valdis =?utf-8?Q?Kl=C4=93tnieks?= , kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, Sep 24, 2019 at 11:51:57AM +0200, Saket Sinha wrote: > Hi, > > I am sorry but I am really tempted to share - > https://www.linuxjournal.com/article/8110 That's out of date, and the stack overflow link points to it. Maybe someday I'll update that article somewhere else, as it's actually much simpler to do this now than it was when I wrote that article. But it still doesn't make it something that anyone should do :) thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies